numberPhrase(digits)grammar | en_us.t[7656]

A quantifier is simply a number, entered with numerals or spelled out.

`grammar numberPhrase(digits) : NumberProd`

Superclass Tree (in declaration order)

`numberPhrase(digits)`
`NumberProd`
`BasicProd`
`object`

Summary of Properties

``

``

Inherited from `BasicProd` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

Summary of Methods

`getStrVal getval`

``

Inherited from `BasicProd` :
`canResolveTo getOrigText getOrigTokenList setOrigTokenList`

Properties

(none)

Methods

`getStrVal ( )`OVERRIDDEN | `en_us.t[7664]`

get the string version of the numeric value - since the token was an integer to start with, return the actual integer value

`getval ( )`OVERRIDDEN | `en_us.t[7658]`

get the numeric value

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3