topicPhrase(main)grammar | en_us.t[7049]

A "topic" is a special type of noun phrase used in commands like "ask <actor> about <topic>." We define a topic as simply an ordinary single-noun phrase. We distinguish this in the grammar to allow games to add special syntax for these.

`grammar topicPhrase(main) : TopicProd`

Superclass Tree (in declaration order)

`topicPhrase(main)`
`TopicProd`
`SingleNounProd`
`NounPhraseProd`
`BasicProd`
`object`

Summary of Properties

``

``

``

Inherited from `NounPhraseProd` :
`filterForCollectives`

Inherited from `BasicProd` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

Summary of Methods

``

Inherited from `TopicProd` :
`getOrigText getOrigTokenList resolveNouns`

``

Inherited from `NounPhraseProd` :
`filterTruncations getVerifyKeepers`

Inherited from `BasicProd` :
`canResolveTo setOrigTokenList`

Properties

(none)

Methods

(none)

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