PossessiveProductionclass | parser.t[4239]

A PossessiveProduction is a production subclass for possessive qualifier phrases ("John's", "my"). When we build out this production's contribution to the command, we add a separate NounPhrase object for it, as a possessive qualifier to the current noun phrase.

`class PossessiveProduction : Production`

Superclass Tree (in declaration order)

`PossessiveProduction`
`Production`
`object`

Subclass Tree

`PossessiveProduction`
`possessiveAdjPhrase(definiteNpApostropheS)`
`possessiveAdjPhrase(her)`
`possessiveAdjPhrase(his)`
`possessiveAdjPhrase(indefiniteNpApostropheS)`
`possessiveAdjPhrase(its)`
`possessiveAdjPhrase(my)`
`possessiveAdjPhrase(npApostropheS)`
`possessiveAdjPhrase(their)`
`possessiveAdjPhrase(your)`
`possessiveNounPhrase(hers)`
`possessiveNounPhrase(his)`
`possessiveNounPhrase(its)`
`possessiveNounPhrase(mine)`
`possessiveNounPhrase(npApostropheS)`
`possessiveNounPhrase(theirs)`
`possessiveNounPhrase(yours)`

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

Build the phrase. We'll build out our sub-tree as normal, except that we'll assign its output to a new NounPhrase, which we attach as a possessive qualifier to the encompassing noun phrase under construction.

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2