Class ASTStmtEmpty
java.lang.Object
io.github.protasm.jvmud.compiler.parser.ast.ASTNode
io.github.protasm.jvmud.compiler.parser.ast.ASTStatement
io.github.protasm.jvmud.compiler.parser.ast.stmt.ASTStmtEmpty
Represents a bare semicolon statement.
LPC mudlibs commonly use this as an empty loop body, for example while (poll());.
Keeping it explicit lets the parser preserve the source shape while the lowerer can treat it as
a no-op.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ASTNode
accept, className, line, setSourceOrder, sourceOrder
-
Constructor Details
-
ASTStmtEmpty
public ASTStmtEmpty(int line) Creates an empty statement.- Parameters:
line- source line for diagnostics and source mapping
-