OrdinalProductionclass | parser.t[4457]

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

`build`

Inherited from `Production` :
`addNounListItem findAction findChild findParent getNounPhraseRole getText getTokens grammarInfoForBuild isChildOf noteEndOfSentence visitLiteral visitProd`

Properties

(none)

Methods

`build (cmd, np)`OVERRIDDEN | `parser.t[4458]`

no description available

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2