poundNumberPhrase(main)grammar | en_us.t[7677] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
A number phrase preceded by a pound sign. We distinguish this kind of number phrase from plain numbers, since this kind has a somewhat more limited set of valid contexts.
grammar
poundNumberPhrase(main) : NumberProd
Superclass Tree (in declaration order)
poundNumberPhrase(main)
NumberProd
BasicProd
object
Summary of Properties
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
Methods
getStrVal ( ) OVERRIDDEN | en_us.t[7689] |
get the string value - we have a number token following the '#', so simply return the part after the '#'
getval ( ) OVERRIDDEN | en_us.t[7683] |
get the numeric value - a tokPoundInt token has a pound sign followed by digits, so the numeric value is the value of the substring following the '#' sign
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3
Generated on 5/16/2013 from TADS version 3.1.3