Package cs132.vapor.ast

Class Summary
Node The base class for AST nodes.
VAddr<T extends VTarget> An address reference.
VAddr.Label<T extends VTarget>  
VAddr.Var<T extends VTarget>  
VaporProgram Represents a full Vapor program.
VAssign An assignment instruction.
VBranch A branch instruction (if and if0).
VBuiltIn The invocation of a built-in operation (for primitive operations like add, sub, etc).
VBuiltIn.Op An built-in operation in Vapor.
VCall Function call instruction.
VCodeLabel A label definition in the body of a function.
VDataSegment A top-level data segment.
VFunction A function definition.
VFunction.Stack The details of a function's stack space declaration.
VGoto A jump instruction.
VInstr The base class for all AST instruction nodes.
VInstr.Visitor<E extends Throwable> Visitor for instruction nodes.
VInstr.VisitorP<P,E extends Throwable> Visitor for instruction nodes, where each visitor function takes a parameter.
VInstr.VisitorPR<P,R,E extends Throwable> Visitor for instruction nodes, where each visitor function takes a parameter and returns a value.
VInstr.VisitorR<R,E extends Throwable> Visitor for instruction nodes, where each visitor function returns a value.
VLabelRef<T extends VTarget> A label reference.
VLitInt Integer literal.
VLitStr String literal.
VMemRead Memory read instructions.
VMemRef A reference to a memory location.
VMemRef.Global A reference to some global memory location (either a segment or the heap).
VMemRef.Stack A reference to some global memory location (either a segment or the heap).
VMemWrite Memory write instruction.
VOperand The base class for operand nodes.
VOperand.Static "Static" values.
VReturn Return instruction.
VTarget The base class for things that can appear as targets of a label reference (VLabelRef).
VVarRef A reference to a function-local variable (VVarRef.Local) or global register (VVarRef.Register).
VVarRef.Local A reference to a function-local variable.
VVarRef.Register A reference to a global register.
 

Enum Summary
VMemRef.Stack.Region The three possible stack regions.