public interface ProcedureDivision extends ASTNode, com.ibm.etools.cobol.application.model.cobol.ProcedureDivisionOrEntryStmt
The following features are supported:
COBOLPackage.getProcedureDivision()| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
copyright |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getContent()
Returns the value of the 'Content' containment reference list.
|
Declaratives |
getDeclaratives()
Returns the value of the 'Declaratives' containment reference.
|
ProcedureDivisionHeader |
getHeader()
Returns the value of the 'Header' containment reference.
|
java.util.List |
getSections()
Deprecated.
Use
getContent() instead.
|
void |
setDeclaratives(Declaratives value)
Sets the value of the '
Declaratives' containment reference. |
void |
setHeader(ProcedureDivisionHeader value)
Sets the value of the '
Header' containment reference. |
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTagstatic final java.lang.String copyright
ProcedureDivisionHeader getHeader()
The value is a representation of the contents of the RETURNING and USING clauses.
setHeader(ProcedureDivisionHeader),
COBOLPackage.getProcedureDivision_Header()void setHeader(ProcedureDivisionHeader value)
Header' containment reference.
value - the new value of the 'Header' containment reference.getHeader()java.util.List getSections()
getContent() instead.
Section.
If there are no sections in the procedure division, a default section is created with no name (the getName() method returns null), so the returned list is never empty.
COBOLPackage.getProcedureDivision_Sections()java.util.List getContent()
ProcedureDivisionContent.
The content of the procedure division consists of sections, paragraphs, or sentences.
COBOLPackage.getProcedureDivision_Content()Declaratives getDeclaratives()
setDeclaratives(Declaratives),
COBOLPackage.getProcedureDivision_Declaratives()void setDeclaratives(Declaratives value)
Declaratives' containment reference.
value - the new value of the 'Declaratives' containment reference.getDeclaratives()