ExceptListProduction class | parser.t[4129]

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

the noun phrase we qualify

Methods

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

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

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 25/04/2024 from adv3Lite version 2.0