Class AST::Branch_

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAStatement

Get a statements belonging to this Branch.

getFirstStatement

Get the first statements in the list.

getLastStatement

Get the last statements in the list.

getParent
getStatement

Get the nth statements of this Branch.

getStatementsList

Get the list of statements belonging to this Branch.

getStatementsSize

Get the number of elements in the list of statements.

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
getNumLines

Get the number of lines covered by this element.

from Locatable
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode