OrdinalProductionclass
OrdinalProduction is a subclass of Production for ordinal phrases (“first”, “second”, etc). The match object must define a method ordval() that returns the integer value of the ordinal (1 for “first”, 2 for “second”, etc).
class
OrdinalProduction
:
Production
Superclass Tree (in declaration order)
OrdinalProduction
Production
` object`
Subclass Tree
OrdinalProduction
disambigListItem(ordinal)
disambigOrdinalItem(main)
Global Objects
(none)
Summary of Properties
Inherited from Production
:
determiner
nounPhraseRole
npClass
parent
Summary of Methods
Inherited from Production
:
addNounListItem
findAction
findChild
findParent
getNounPhraseRole
getText
getTokens
grammarInfoForBuild
isChildOf
noteEndOfSentence
visitLiteral
visitProd
Properties
(none)
Methods
build (cmd, np)
OVERRIDDEN
no description available
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1