Package org.eolang.opeo.ast
Class Invocation
- java.lang.Object
-
- org.eolang.opeo.ast.Invocation
-
-
Constructor Summary
Constructors Constructor Description Invocation(AstNode source, String method, List<AstNode> arguments)
Constructor.Invocation(AstNode source, String method, List<AstNode> arguments, String descriptor)
Constructor.Invocation(AstNode source, String method, AstNode... args)
Constructor.Invocation(AstNode source, Attributes attributes, List<AstNode> arguments)
Constructor.Invocation(AstNode source, Attributes attributes, AstNode... args)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AstNode>
opcodes()
Bytecode instructions.String
print()
Print ast node and all it's children.Iterable<org.xembly.Directive>
toXmir()
Convert node to XMIR.
-
-
-
Constructor Detail
-
Invocation
public Invocation(AstNode source, String method, AstNode... args)
Constructor.- Parameters:
source
- Source or target on which the invocation is performedmethod
- Method nameargs
- Arguments
-
Invocation
public Invocation(AstNode source, Attributes attributes, AstNode... args)
Constructor.- Parameters:
source
- Source or target on which the invocation is performedattributes
- Method attributesargs
- Arguments
-
Invocation
public Invocation(AstNode source, String method, List<AstNode> arguments)
Constructor.- Parameters:
source
- Source or target on which the invocation is performedmethod
- Method namearguments
- Arguments
-
Invocation
public Invocation(AstNode source, String method, List<AstNode> arguments, String descriptor)
Constructor.- Parameters:
source
- Source or target on which the invocation is performedmethod
- Method namearguments
- Argumentsdescriptor
- Descriptor
-
Invocation
public Invocation(AstNode source, Attributes attributes, List<AstNode> arguments)
Constructor.- Parameters:
source
- Source or target on which the invocation is performedattributes
- Method attributesarguments
- Arguments
-
-