public interface ASTNode
extends org.eclipse.emf.ecore.EObject
The following features are supported:
COBOLPackage.getASTNode()| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
copyright |
| Modifier and Type | Method and Description |
|---|---|
short |
getBeginColumn()
Returns the value of the 'Begin Column' attribute.
|
java.lang.String |
getBeginFile()
Returns the value of the 'Begin File' attribute.
|
int |
getBeginLine()
Returns the value of the 'Begin Line' attribute.
|
short |
getEndColumn()
Returns the value of the 'End Column' attribute.
|
java.lang.String |
getEndFile()
Returns the value of the 'End File' attribute.
|
int |
getEndLine()
Returns the value of the 'End Line' attribute.
|
ASTNode |
getParent()
Returns the value of the 'Parent' reference.
|
java.lang.String |
getTag()
Returns the value of the 'Tag' attribute.
|
void |
setBeginColumn(short value)
Sets the value of the '
Begin Column' attribute. |
void |
setBeginFile(java.lang.String value)
Sets the value of the '
Begin File' attribute. |
void |
setBeginLine(int value)
Sets the value of the '
Begin Line' attribute. |
void |
setEndColumn(short value)
Sets the value of the '
End Column' attribute. |
void |
setEndFile(java.lang.String value)
Sets the value of the '
End File' attribute. |
void |
setEndLine(int value)
Sets the value of the '
End Line' attribute. |
void |
setParent(ASTNode value)
Sets the value of the '
Parent' reference. |
void |
setTag(java.lang.String value)
Sets the value of the '
Tag' attribute. |
static final java.lang.String copyright
short getBeginColumn()
The value is the column number of the beginning of the text of the part of the COBOL program represented by this node. The first column on a line is column 1.
setBeginColumn(short),
COBOLPackage.getASTNode_BeginColumn()void setBeginColumn(short value)
Begin Column' attribute.
value - the new value of the 'Begin Column' attribute.getBeginColumn()short getEndColumn()
The value is the column number of the end of the text of the part of the COBOL program represented by this node.
setEndColumn(short),
COBOLPackage.getASTNode_EndColumn()void setEndColumn(short value)
End Column' attribute.
value - the new value of the 'End Column' attribute.getEndColumn()java.lang.String getBeginFile()
The value is the name of the source file where the text begins for the part of the COBOL program represented by this node. The source file can be a copybook.
setBeginFile(String),
COBOLPackage.getASTNode_BeginFile()void setBeginFile(java.lang.String value)
Begin File' attribute.
value - the new value of the 'Begin File' attribute.getBeginFile()java.lang.String getEndFile()
The value is the name of the source file where the text ends for the part of the COBOL program represented by this node. The source file can be a copybook.
setEndFile(String),
COBOLPackage.getASTNode_EndFile()void setEndFile(java.lang.String value)
End File' attribute.
value - the new value of the 'End File' attribute.getEndFile()int getBeginLine()
The value is the line number of the beginning of the text of the part of the COBOL program represented by the node. The first line in a source file is line 1.
setBeginLine(int),
COBOLPackage.getASTNode_BeginLine()void setBeginLine(int value)
Begin Line' attribute.
value - the new value of the 'Begin Line' attribute.getBeginLine()int getEndLine()
The value is the line number of the ending of the text of the part of the COBOL program represented by the node. The first line in a source program is line 1.
setEndLine(int),
COBOLPackage.getASTNode_EndLine()void setEndLine(int value)
End Line' attribute.
value - the new value of the 'End Line' attribute.getEndLine()java.lang.String getTag()
The value is any additional information about the node not otherwise represented in the model.
setTag(String),
COBOLPackage.getASTNode_Tag()void setTag(java.lang.String value)
Tag' attribute.
value - the new value of the 'Tag' attribute.getTag()ASTNode getParent()
The value is the parent of this node in the syntax tree. For example, the parent of
IdentificationDivision is
Program
setParent(ASTNode),
COBOLPackage.getASTNode_Parent()void setParent(ASTNode value)
Parent' reference.
value - the new value of the 'Parent' reference.getParent()