|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MiniNode
Interface for parse tree objects for the Mini programming language. Reference:
"JLex: A Lexical Analyzer Generator for Java"
http://www.cs.princeton.edu/~appel/modern/java/JLex/
| Method Summary | |
|---|---|
void |
checkSemantics(Stack parentMiniNodeStack)
|
void |
generate(MiniNodeCodeVisitor miniNodeCodeVisitor)
Uses the Visitor design pattern to generate code. |
| Method Detail |
|---|
void generate(MiniNodeCodeVisitor miniNodeCodeVisitor)
miniNodeCodeVisitor.generate( this );
void checkSemantics(Stack parentMiniNodeStack)
throws SemanticErrorException
SemanticErrorException
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||