|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--geneseo.cs.miniml.MinimLParseNode | +--geneseo.cs.miniml.NullFormalsNode
Represents syntax tree nodes that mark the end of a formal parameter list in a MinimL compiler. Equivalently, these nodes indicate an empty formal parameter list.
Constructor Summary | |
NullFormalsNode()
Initialize an empty formal parameter list syntax tree node. |
Method Summary | |
void |
acceptVisit(MinimLParseVisitor visitor)
Allow a visitor object to process the syntax tree for an empty formal parameter list. |
java.lang.String |
toString()
Generate a string representation of a syntax tree node for an empty formal parameter list. |
Methods inherited from class geneseo.cs.miniml.MinimLParseNode |
getAttribute, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NullFormalsNode()
Method Detail |
public void acceptVisit(MinimLParseVisitor visitor) throws CompilerException
acceptVisit
in class MinimLParseNode
visitor
- The object that wishes to process the empty formal parameter list.CompilerException
- If thrown by the visitor.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |