Class ASTStmtEmpty


public final class ASTStmtEmpty extends ASTStatement
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.

  • Constructor Details

    • ASTStmtEmpty

      public ASTStmtEmpty(int line)
      Creates an empty statement.
      Parameters:
      line - source line for diagnostics and source mapping