Class Literals::NumericLiteral

Direct supertypes

Indirect supertypes

Predicates

isNumeric

Is this literal numeric, regardless of context?

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
getParentfrom Literal_
getValue

Get the value of this Literal.

from Literal_
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode
isAlphanumeric

Is this literal alphanumeric, regardless of context?

from Literal