ExceptListProductionclass
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
Inherited from Production
:
determiner
nounPhraseRole
npClass
parent
Summary of Methods
Inherited from Production
:
findAction
findChild
findParent
getNounPhraseRole
getText
getTokens
grammarInfoForBuild
isChildOf
noteEndOfSentence
visitLiteral
visitProd
Properties
qualifiedNP
the noun phrase we qualify
Methods
addNounListItem (cmd, prod)
OVERRIDDEN
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
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