Class ProgramNode
Root node of the AST representing the entire program.
Contains a sequence of top-level statements.
Assembly: VM.dll
Syntax
public class ProgramNode : AstNode
Fields
Statements
Declaration
public readonly List<StatementNode> Statements
Field Value
Methods
Accept<T>(IAstVisitor<T>)
Accepts a visitor that returns a value.
Declaration
public override T Accept<T>(IAstVisitor<T> visitor)
Parameters
Returns
Type Parameters
Overrides
ToString()
Returns a string representation of the AST node for debugging.
Declaration
public override string ToString()
Returns
Overrides