quotedStringPhrase(main)grammar
A “quoted string” phrase is a literal enclosed in single or double quotes.
Note that this is a separate production from literalPhrase. This production can be used when *only* a quoted string is allowed. The literalPhrase production allows both quoted and unquoted text.
grammar
quotedStringPhrase
(main)
:
LiteralProd
Superclass Tree (in declaration order)
quotedStringPhrase(main)
LiteralProd
BasicProd
` object`
Summary of Properties
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
(none)
Methods
getStringText ( )
get my string, with the quotes trimmed off (so we return simply the contents of the string)
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3