Class AST::WhenBranch_

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAnObject

Get an objects belonging to this WhenBranch.

getFirstObject

Get the first objects in the list.

getLastObject

Get the last objects in the list.

getObject

Get the nth objects of this WhenBranch.

getObjectsList

Get the list of objects belonging to this WhenBranch.

getObjectsSize

Get the number of elements in the list of objects.

toString

Inherited predicates

getAStatement

Get a statements belonging to this Branch.

from Branch_
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
getFirstStatement

Get the first statements in the list.

from Branch_
getLastStatement

Get the last statements in the list.

from Branch_
getLocation

Get this element’s location.

from Locatable
getNumLines

Get the number of lines covered by this element.

from Locatable
getParentfrom Branch_
getStatement

Get the nth statements of this Branch.

from Branch_
getStatementsList

Get the list of statements belonging to this Branch.

from Branch_
getStatementsSize

Get the number of elements in the list of statements.

from Branch_
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode