disambigPreParserobjectenglish.t[6034]

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  

ordinalsenglish.t[6076]

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)OVERRIDDENenglish.t[6035]

no description available

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0