Package org.eolang.opeo.ast
Class ClassName
- java.lang.Object
-
- org.eolang.opeo.ast.ClassName
-
public final class ClassName extends Object implements AstNode, Typed
Class constant.- Since:
- 0.2
- To do:
- #229:30min Do we need ClassName node?
It seems that we don't need this node, because it is used only in the
single place in
XmirParser
. Most likely we can remove this node and use something already existing in the project. If we decide to keep this node, we need to add a test for it.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
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.Type
type()
Node type.
-
-
-
Constructor Detail
-
ClassName
public ClassName(org.eolang.jeo.representation.xmir.XmlNode node)
Constructor.- Parameters:
node
- XML node
-
ClassName
public ClassName(String name)
Constructor.- Parameters:
name
- Class name
-
-