|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.ast.Node edu.ksu.cis.projects.bogor.ast.PrintArg edu.ksu.cis.projects.bogor.ast.StringPrintArg
public final class StringPrintArg
String print argument AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.PrintArg |
---|
parent |
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
StringPrintArg(String string)
Default constructor. |
Method Summary | |
---|---|
StringPrintArg |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Removes reference to string. |
String |
getString()
Gets the string. |
void |
setString(String newString)
Sets the string. |
String |
toString()
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
Methods inherited from class edu.ksu.cis.projects.bogor.ast.PrintArg |
---|
getParent, setParent |
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
getLocationInfo, getProperty, putProperty, setLocationInfo |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringPrintArg(String string)
string
- The string.Method Detail |
---|
public void setString(String newString)
newString
- The new string. Must be non-null.public String getString()
public StringPrintArg clone()
clone
in class PrintArg
public void dispose()
dispose
in interface Disposable
dispose
in class PrintArg
public String toString()
toString
in class Node
public void visit(ASTVisitor visitor)
visit
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |