|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgeneralHelpers.TreeNode
treeNodes.AbstractExpression
treeNodes.NoExpression
public class NoExpression
Defines AST constructor 'no_expr'.
See TreeNode for full documentation.
Field Summary |
---|
Fields inherited from class generalHelpers.TreeNode |
---|
lineNumber |
Constructor Summary | |
---|---|
NoExpression(int lineNumber)
Creates "no_expr" AST node. |
Method Summary | |
---|---|
TreeNode |
copy()
Creates a copy of this node. |
void |
dump(java.io.Writer out,
int n)
Pretty-prints this node to this output stream. |
void |
dumpWithTypes(java.io.Writer out,
int n)
|
Methods inherited from class treeNodes.AbstractExpression |
---|
dumpType, getType, setType |
Methods inherited from class generalHelpers.TreeNode |
---|
copyAbstractSymbol, copyBoolean, dumpAbstractSymbol, dumpBoolean, dumpLine, getLineNumber, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoExpression(int lineNumber)
lineNumber
- the line in the source file from which this node came.Method Detail |
---|
public TreeNode copy()
TreeNode
copy
in class TreeNode
public void dump(java.io.Writer out, int n) throws java.io.IOException
TreeNode
dump
in class TreeNode
out
- the output streamn
- the number of spaces to indent the output
java.io.IOException
public void dumpWithTypes(java.io.Writer out, int n) throws java.io.IOException
dumpWithTypes
in class AbstractExpression
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |