|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgeneralHelpers.TreeNode
treeNodes.AbstractExpression
treeNodes.AbstractBinaryOperation
treeNodes.Divide
public class Divide
Defines AST constructor 'divide'.
See TreeNode for full documentation.
Field Summary |
---|
Fields inherited from class treeNodes.AbstractBinaryOperation |
---|
e1, e2 |
Fields inherited from class generalHelpers.TreeNode |
---|
lineNumber |
Constructor Summary | |
---|---|
Divide(int lineNumber,
AbstractExpression a1,
AbstractExpression a2)
Creates "divide" AST node. |
Method Summary | |
---|---|
TreeNode |
copy()
Creates a copy of this node. |
protected java.lang.String |
getTag()
This function is used by the dump-functions to specialize output to the subclass. |
Methods inherited from class treeNodes.AbstractBinaryOperation |
---|
dump, dumpWithTypes, getExpr1, getExpr2 |
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 Divide(int lineNumber, AbstractExpression a1, AbstractExpression a2)
lineNumber
- the line in the source file from which this node came.a0
- initial value for e1a1
- initial value for e2Method Detail |
---|
public TreeNode copy()
TreeNode
copy
in class TreeNode
protected java.lang.String getTag()
AbstractBinaryOperation
getTag
in class AbstractBinaryOperation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |