Package org.eolang.opeo.ast
Class Constructor
- java.lang.Object
-
- org.eolang.opeo.ast.Constructor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
Constructor Summary
Constructors Constructor Description Constructor(String type, List<AstNode> arguments)Constructor.Constructor(String type, AstNode... arguments)Constructor.Constructor(String type, Attributes attrs, List<AstNode> args)Constructor.Constructor(String type, Attributes attrs, AstNode... arguments)Constructor.Constructor(org.eolang.jeo.representation.xmir.XmlNode node, Parser parser)Constructor.Constructor(AstNode ctype, Attributes attributes, List<AstNode> arguments)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AstNode>opcodes()Bytecode instructions.Iterable<org.xembly.Directive>toXmir()Convert node to XMIR.org.objectweb.asm.Typetype()Node type.
-
-
-
Constructor Detail
-
Constructor
public Constructor(String type, AstNode... arguments)
Constructor.- Parameters:
type- Constructor typearguments- Constructor arguments
-
Constructor
public Constructor(String type, List<AstNode> arguments)
Constructor.- Parameters:
type- Constructor typearguments- Constructor arguments
-
Constructor
public Constructor(String type, Attributes attrs, AstNode... arguments)
Constructor.- Parameters:
type- Constructor typeattrs- Constructor attributesarguments- Constructor arguments
-
Constructor
public Constructor(String type, Attributes attrs, List<AstNode> args)
Constructor.- Parameters:
type- Constructor typeattrs- Constructor attributesargs- Constructor arguments
-
Constructor
public Constructor(org.eolang.jeo.representation.xmir.XmlNode node, Parser parser)Constructor.- Parameters:
node- Xmir representation of constructor.parser- Parser that understands how to parse subnodes.
-
Constructor
public Constructor(AstNode ctype, Attributes attributes, List<AstNode> arguments)
Constructor.- Parameters:
ctype- Constructor typeattributes- Constructor attributesarguments- Constructor arguments
-
-