|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttip.node.Node
tip.node.PDecl
public abstract class PDecl
PDecl
is the super class of all decl
classes.
Constructor Summary | |
---|---|
PDecl()
|
Method Summary | |
---|---|
abstract PDecl |
clone()
Returns a deep clone of this PDecl node. |
abstract PDecl |
clone(Map<Node,Node> oldToNewMap)
Creates a deep clone of this PDecl node while putting all
old node-new node relations in the map oldToNewMap . |
abstract int |
getIndex()
Returns the index field of this PDecl node. |
abstract TIdentifier |
getName()
Returns the TIdentifier node which is the name child of this PDecl node. |
NodeEnum |
kindNode()
Returns the NodeEnum corresponding to the
type of this Node node. |
abstract EDecl |
kindPDecl()
Returns the EDecl corresponding to the
type of this PDecl node. |
abstract void |
setIndex(int value)
Sets the index field of this PDecl node. |
abstract void |
setName(TIdentifier value)
Sets the name child of this PDecl node. |
Methods inherited from class tip.node.Node |
---|
apply, apply, apply, apply, checkOptionalInvariant, getAncestor, getAncestor, getAncestor, getChildren, getChildren, getChildren, getDescendants, getDescendants, getDescendants, getDescendants, isOptionalInvariant, parent, replaceBy, setOptionalInvariant |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDecl()
Method Detail |
---|
public abstract PDecl clone()
PDecl
node.
clone
in interface NodeInterface
clone
in class Node
PDecl
nodepublic abstract PDecl clone(Map<Node,Node> oldToNewMap)
PDecl
node while putting all
old node-new node relations in the map oldToNewMap
.
clone
in interface NodeInterface
clone
in class Node
oldToNewMap
- the map filled with the old node-new node relation
PDecl
nodepublic abstract int getIndex()
index
field of this PDecl
node.
index
field of this PDecl
nodepublic abstract void setIndex(int value)
index
field of this PDecl
node.
value
- the new index
field of this PDecl
nodepublic abstract TIdentifier getName()
TIdentifier
node which is the name
child of this PDecl
node.
TIdentifier
node which is the name
child of this PDecl
nodepublic abstract void setName(TIdentifier value)
name
child of this PDecl
node.
value
- the new name
child of this PDecl
nodepublic abstract EDecl kindPDecl()
EDecl
corresponding to the
type of this PDecl
node.
EDecl
for this nodepublic NodeEnum kindNode()
NodeEnum
corresponding to the
type of this Node
node.
kindNode
in class Node
NodeEnum
for this node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |