Interface Node
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AdjectiveNode
,AssociationInstanceNode
,ClassifierLevelAttributeNode
,FalseNode
,NameNode
,NullNode
,NumericValueNode
,ReferenceNode
,TextualValueNode
,TrueNode
- All Known Implementing Classes:
AdjectiveNodeImpl
,AssociationInstanceNodeImpl
,ClassifierLevelAttributeNodeImpl
,FalseNodeImpl
,NameNodeImpl
,NodeImpl
,NullNodeImpl
,NumericValueNodeImpl
,ReferenceNodeImpl
,TextualValueNodeImpl
,TrueNodeImpl
public interface Node extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Node'.The following features are supported:
- See Also:
AntlrAstPackage.getNode()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<Node>
getChildren()
Returns the value of the 'Children' containment reference list.int
getColumn()
Returns the value of the 'Column' attribute.int
getLine()
Returns the value of the 'Line' attribute.Node
getParent()
Returns the value of the 'Parent' container reference.String
getText()
Returns the value of the 'Text' attribute.void
setColumn(int value)
Sets the value of the 'Column
' attribute.void
setLine(int value)
Sets the value of the 'Line
' attribute.void
setParent(Node value)
Sets the value of the 'Parent
' container reference.void
setText(String value)
Sets the value of the 'Text
' attribute.
-
-
-
Method Detail
-
getText
String getText()
Returns the value of the 'Text' attribute.If the meaning of the 'Text' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Text' attribute.
- See Also:
setText(String)
,AntlrAstPackage.getNode_Text()
-
setText
void setText(String value)
Sets the value of the 'Text
' attribute.- Parameters:
value
- the new value of the 'Text' attribute.- See Also:
getText()
-
getLine
int getLine()
Returns the value of the 'Line' attribute.If the meaning of the 'Line' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Line' attribute.
- See Also:
setLine(int)
,AntlrAstPackage.getNode_Line()
-
setLine
void setLine(int value)
Sets the value of the 'Line
' attribute.- Parameters:
value
- the new value of the 'Line' attribute.- See Also:
getLine()
-
getColumn
int getColumn()
Returns the value of the 'Column' attribute.If the meaning of the 'Column' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Column' attribute.
- See Also:
setColumn(int)
,AntlrAstPackage.getNode_Column()
-
setColumn
void setColumn(int value)
Sets the value of the 'Column
' attribute.- Parameters:
value
- the new value of the 'Column' attribute.- See Also:
getColumn()
-
getParent
Node getParent()
Returns the value of the 'Parent' container reference. It is bidirectional and its opposite is 'Children
'.If the meaning of the 'Parent' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Parent' container reference.
- See Also:
setParent(Node)
,AntlrAstPackage.getNode_Parent()
,getChildren()
-
setParent
void setParent(Node value)
Sets the value of the 'Parent
' container reference.- Parameters:
value
- the new value of the 'Parent' container reference.- See Also:
getParent()
-
getChildren
org.eclipse.emf.common.util.EList<Node> getChildren()
Returns the value of the 'Children' containment reference list. The list contents are of typeNode
. It is bidirectional and its opposite is 'Parent
'.If the meaning of the 'Children' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Children' containment reference list.
- See Also:
AntlrAstPackage.getNode_Children()
,getParent()
-
-