disambigPreParser object | english.t[6343]

PreParser to convert a number input by the player (e.g. 1 or 2) in response to a diambiguation prompt into the corresponding ordinal (e.g., first or second) so that the parser will recognize it as choosing one of the options.

`disambigPreParser : StringPreParser`

Superclass Tree (in declaration order)

`disambigPreParser`
`StringPreParser`
`PreinitObject`
`ModuleExecObject`
`object`

Summary of Properties

`ordinals`

Inherited from `StringPreParser` :
`isActive regList regListSorted runOrder`

Inherited from `PreinitObject` :
`execBeforeMe reverseGlobalSymbols`

Inherited from `ModuleExecObject` :
`execAfterMe hasInitialized_ isDoingExec_ isExecuted_`

Summary of Methods

`doParsing`

Inherited from `StringPreParser` :
`construct execute registerPreParser runAll`

``

Inherited from `ModuleExecObject` :
`_execute classExec`

Properties

`ordinals` | `english.t[6385]`

The list of ordinal numbers. We only list the first 20 here since it seems highly unlikely that a player would be presented with a list of more than twelve diambiguation options. In any case the parser seems unable to cope with a response of more than 'twentieth'.

Methods

`doParsing (str, which)`OVERRIDDEN | `english.t[6344]`

no description available

Adv3Lite Library Reference Manual
Generated on 13/06/2025 from adv3Lite version 2.2.1