|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkoala.dynamicjava.tree.Node
koala.dynamicjava.tree.Statement
koala.dynamicjava.tree.EmptyStatement
public class EmptyStatement
This class represents the empty statement nodes of the syntax tree
Constructor Summary | |
---|---|
EmptyStatement()
Creates a new empty statement |
|
EmptyStatement(SourceInfo si)
Creates a new empty statement |
Method Summary | ||
---|---|---|
|
acceptVisitor(Visitor<T> visitor)
Allows a visitor to traverse the tree |
|
String |
toString()
Implementation of toString for use in unit testing |
Methods inherited from class koala.dynamicjava.tree.Node |
---|
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EmptyStatement()
public EmptyStatement(SourceInfo si)
Method Detail |
---|
public <T> T acceptVisitor(Visitor<T> visitor)
acceptVisitor
in class Node
visitor
- the visitor to acceptpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |