Class OperationInstr
java.lang.Object
org.ek9lang.compiler.ir.instructions.OperationInstr
- All Implemented Interfaces:
Comparable<OperationInstr>, INode
An operation on some sort on a Construct.
By this we are talking about methods and operators, but also constructors and 'init' operations.
For example in the case of normal classes/traits/components etc. this would just be a method.
In the case of a function it would also be a method but with a name of 'call' and the normal function signature would be applied (to the 'call' operation).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(INodeVisitor visitor) voidintgetBody()booleansetBody(BasicBlockInstr basicBlockBody) voidsetDispatcher(boolean dispatcher) toString()
-
Constructor Details
-
OperationInstr
-
-
Method Details
-
getBody
-
setBody
-
getSymbol
-
getDebugInfo
-
isDispatcher
public boolean isDispatcher() -
setDispatcher
public void setDispatcher(boolean dispatcher) -
getDispatchImplementations
-
addDispatchImplementation
-
toString
-
accept
-
compareTo
- Specified by:
compareToin interfaceComparable<OperationInstr>
-