Class Units::Section

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAStatement
getExitNode

Get the exit node of this Section.

getFirstSentence

Get the first sentences in the list.

getLastSentence

Get the last sentences in the list.

getName

Get the name of this Section.

getNextLexicalProcedure
getParent
isEmpty
toString

Inherited predicates

getAParagraph

Get a paragraphs belonging to this Section.

from Section_
getASentence

Get a sentences belonging to this Section.

from Section_
getASucceedingProcedure

Which procedure is in the direct flow from this one ? We’re not relying on control flow here. Just looking at targets of GO TO statements, and at the last statement in the procedure.

from Procedure
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
getFirstParagraph

Get the first paragraphs in the list.

from Section_
getFirstStatementInRangefrom Procedure
getHeader

Get the header of this Unit.

from Unit_
getLastParagraph

Get the last paragraphs in the list.

from Section_
getLastStatementInRangefrom Procedure
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
getParagraph

Get the nth paragraphs of this Section.

from Section_
getParagraphsList

Get the list of paragraphs belonging to this Section.

from Section_
getParagraphsSize

Get the number of elements in the list of paragraphs.

from Section_
getProgramDefinition

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

from Unit
getSentence

Get the nth sentences of this Section.

from Section_
getSentencesList

Get the list of sentences belonging to this Section.

from Section_
getSentencesSize

Get the number of elements in the list of sentences.

from Section_
getUpperNamefrom Procedure
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode