CoreNounPhraseProduction class | parser.t[4153]

CoreNounPhraseProduction is a Production subclass for the "core" noun phrase grammar for noun phrases with object vocabulary. This is the part of the grammar that matches the basic name of an object, after all qualifiers (such as articles, possessives, and quantifiers) have already been dealt with. This is the part of the phrase that contains the vocabulary words for game-world objects.

This class is only needed for noun phrases with object vocabulary words. It captures the unqualified core of the phrase as entered by the user, mostly for reiteration in error messages from the parser. It's not necessary to define rules of this class for noun phrases that don't have object vocabulary words (e.g., pronouns, ALL).

`class CoreNounPhraseProduction : Production`

Superclass Tree (in declaration order)

`CoreNounPhraseProduction`
`Production`
`object`

Subclass Tree

`CoreNounPhraseProduction`
`nounPhrase(main)`
`pluralPhrase(main)`

Global Objects

(none)

Summary of Properties

``

Inherited from `Production` :
`determiner nounPhraseRole npClass parent`

Summary of Methods

`build`

Inherited from `Production` :
`addNounListItem findAction findChild findParent getNounPhraseRole getText getTokens grammarInfoForBuild isChildOf noteEndOfSentence visitLiteral visitProd`

Properties

(none)

Methods

`build (cmd, np)`OVERRIDDEN | `parser.t[4154]`

no description available

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5