All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class espresso.syntaxtree.LabeledStatementNode

java.lang.Object
   |
   +----espresso.syntaxtree.SyntaxTreeNode
           |
           +----espresso.syntaxtree.StatementNode
                   |
                   +----espresso.syntaxtree.LabeledStatementNode

public class LabeledStatementNode
extends StatementNode

Variable Index

 o breakList_d
 o continueList_d
 o label_d
 o labeledNOP_d
 o statement_d

Constructor Index

 o LabeledStatementNode()

Method Index

 o addBreak(InstructionHandle)
Add an instruction to the break list for backpatching.
 o addContinue(InstructionHandle)
Add an instruction to the continue list for backpatching.
 o translate(ClassGen, MethodGen)
 o typeCheck(SymbolTable)

Variables

 o label_d
 public Symbol label_d
 o statement_d
 public StatementNode statement_d
 o breakList_d
 public InstructionList breakList_d
 o continueList_d
 public InstructionList continueList_d
 o labeledNOP_d
 public InstructionHandle labeledNOP_d

Constructors

 o LabeledStatementNode
 public LabeledStatementNode()

Methods

 o addBreak
 public void addBreak(InstructionHandle ih)
Add an instruction to the break list for backpatching.

 o addContinue
 public void addContinue(InstructionHandle ih)
Add an instruction to the continue list for backpatching.

 o typeCheck
 public Type typeCheck(SymbolTable stable) throws TypeCheckError
Overrides:
typeCheck in class StatementNode
 o translate
 public void translate(ClassGen classGen,
                       MethodGen methodGen)
Overrides:
translate in class StatementNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index