ExceptListProductionclass

parser.t[4105]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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[4144]

the noun phrase we qualify

Methods  

addNounListItem (cmd, prod)OVERRIDDEN

parser.t[4137]

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[4114]

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 15/03/2023 from adv3Lite version 1.6.1