Class AST::ProcedureDivision_

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAParagraph

Get a paragraphs belonging to this ProcedureDivision.

getASection

Get a sections belonging to this ProcedureDivision.

getASentence

Get a sentences belonging to this ProcedureDivision.

getDeclaratives

Get the declaratives of this ProcedureDivision.

getExitNode

Get the exit node of this ProcedureDivision.

getFirstParagraph

Get the first paragraphs in the list.

getFirstSection

Get the first sections in the list.

getFirstSentence

Get the first sentences in the list.

getHeader

Get the header of this ProcedureDivision.

getLastParagraph

Get the last paragraphs in the list.

getLastSection

Get the last sections in the list.

getLastSentence

Get the last sentences in the list.

getParagraph

Get the nth paragraphs of this ProcedureDivision.

getParagraphsList

Get the list of paragraphs belonging to this ProcedureDivision.

getParagraphsSize

Get the number of elements in the list of paragraphs.

getParent
getSection

Get the nth sections of this ProcedureDivision.

getSectionsList

Get the list of sections belonging to this ProcedureDivision.

getSectionsSize

Get the number of elements in the list of sections.

getSentence

Get the nth sentences of this ProcedureDivision.

getSentencesList

Get the list of sentences belonging to this ProcedureDivision.

getSentencesSize

Get the number of elements in the list of sentences.

toString

Inherited predicates

getASuccessor

Get any possible successor in the progam’s control flow.

from AstNode
getEnclosingText

Get the unit containing this element.

from AstNode
getEnclosingUnit

Get the unit containing this element.

from AstNode
getLocation

Get this element’s location.

from Locatable
getMetrics

Get the metrics for this unit

from Unit
getNumLines

Get the number of lines covered by this element.

from Locatable
getProgramDefinition

Get the program definition containing this unit. If the unit is a program definition, return the unit itself.

from Unit
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode