Class ASTNode
java.lang.Object
io.github.protasm.jvmud.compiler.parser.ast.ASTNode
- Direct Known Subclasses:
ASTArgument, ASTExpression, ASTField, ASTInherit, ASTListNode, ASTLocal, ASTMapNode, ASTMethod, ASTObject, ASTParameter, ASTStatement
public abstract sealed class ASTNode
extends Object
permits ASTArgument, ASTExpression, ASTField, ASTInherit, ASTListNode<T>, ASTLocal, ASTMapNode<T>, ASTMethod, ASTObject, ASTParameter, ASTStatement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaccept(ASTVisitor visitor) intline()voidsetSourceOrder(int sourceOrder) int
-
Field Details
-
line
protected final int line
-
-
Constructor Details
-
ASTNode
public ASTNode(int line)
-
-
Method Details
-
line
public int line() -
sourceOrder
public int sourceOrder() -
setSourceOrder
public void setSourceOrder(int sourceOrder) -
className
-
accept
-