PronounProduction class | parser.t[4240]

PronounProduction is a Production subclass for pronoun phrases. Each instance should set the property 'pronoun' to a Pronoun object giving the pronoun role for the phrase.

`class PronounProduction : Production`

Superclass Tree (in declaration order)

`PronounProduction`
`Production`
`object`

Subclass Tree

`PronounProduction`
`pronounPhrase(her)`
`pronounPhrase(herself)`
`pronounPhrase(him)`
`pronounPhrase(himself)`
`pronounPhrase(it)`
`pronounPhrase(itself)`
`pronounPhrase(me)`
`pronounPhrase(them)`
`pronounPhrase(themselves)`
`pronounPhrase(us)`
`pronounPhrase(you)`

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[4247]`

Build the phrase. We'll add our pronoun association to the current noun phrase. (We'll also build out any sub-tree, although in nearly all cases a pronoun phrase is just a literal and won't have a sub-tree.)

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0