EverythingButProdclass

parser.t[1786]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

Base class for “all but” rules, which select everything available except for objects in a specified list of exceptions; for example, in English, “take everything but the book”.

class EverythingButProd :   ButProd

Superclass Tree   (in declaration order)

EverythingButProd
ButProd
NounPhraseProd
BasicProd
`                                 object`

Subclass Tree  

EverythingButProd
terminalNounPhrase(allBut)

Global Objects  

(none)

Summary of Properties  

addedFlags filterForCollectives

Inherited from BasicProd :
firstTokenIndex isSpecialResponseMatch lastTokenIndex

Summary of Methods  

flagAllExcepted getMainList

Inherited from ButProd :
filterFinalList resolveNouns

Inherited from NounPhraseProd :
filterTruncations getVerifyKeepers

Inherited from BasicProd :
canResolveTo getOrigText getOrigTokenList setOrigTokenList

Properties  

addedFlagsOVERRIDDEN

parser.t[1813]

set the “always announce” flag for each item - the player didn’t name the selected items specifically, so always show what we chose

filterForCollectivesOVERRIDDEN

parser.t[1816]

match Collective objects instead of their individuals

Methods  

flagAllExcepted (resolver, results)OVERRIDDEN

parser.t[1803]

flag an error - our main list has been completely excluded

getMainList (resolver, results)OVERRIDDEN

parser.t[1788]

our main list is given by the “all” list

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3