Class Tokens::NumericLiteralToken

A numeric literal token.

Examples:

1
2.3

Direct supertypes

Indirect supertypes

Inherited predicates

getEndLine

Gets the line on which this element ends.

from Locatable
getFile

Gets the file this program element comes from.

from Locatable
getIndex

Gets the index of the token inside its toplevel structure.

from Token
getLocation

Gets this element’s location.

from Token
getNextToken

Gets the token following this token inside the same toplevel structure, if any.

from Token
getNumLines

Gets the number of lines covered by this element.

from Locatable
getPreviousToken

Gets the token preceding this token inside the same toplevel structure, if any.

from Token
getStartLine

Gets the line on which this element starts.

from Locatable
getTopLevel

Gets the toplevel syntactic structure to which this token belongs.

from Token
getValue

Gets the source text of this token.

from Token
toString

Gets a textual representation of this element.

from Token