OrdinalProduction class | parser.t[4528]

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[4529]`

no description available

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2