ExceptListProductionclass | parser.t[4097]

ExceptListProduction is a Production subclass for EXCEPT lists. This is a slot in the grammar that holds a list of objects excepted from some set, as in ALL BUT THE RED BOOK or THE COINS EXCEPT THE PENNIES.

`class ExceptListProduction : Production`

Superclass Tree (in declaration order)

`ExceptListProduction`
`Production`
`object`

Subclass Tree

`ExceptListProduction`
`exceptList(main)`

Global Objects

(none)

Summary of Properties

`qualifiedNP`

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

Summary of Methods

`addNounListItem build`

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

Properties

`qualifiedNP` | `parser.t[4136]`

the noun phrase we qualify

Methods

`addNounListItem (cmd, prod)`OVERRIDDEN | `parser.t[4129]`

Add a noun list item. List items within our sub-tree go into the exclusion list for the parent noun phrase that we qualify.

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

Build this phrase. Our sub-tree is a noun list that's to be excluded from the current noun phrase under construction, 'np'; this exclusion list is a type of qualifier. So, we (a) start an exception qualifier for 'np', (b) make that list the current noun phrase within our sub-tree, then (c) do the normal work to build out our sub-tree, but using the new context.

Adv3Lite Library Reference Manual
Generated on 12/12/2022 from adv3Lite version 1.6