seekPreParserobject
The StringPreparser and the TopicAction which follows are designed to deal with command like LOOK FOR X, FIND Y or SEARCH FOR Z. The complication is that in the standard library these are all forms of LOOK UP X, which prompt the response “What do you want to look that up in?”. This is likely to confuse new players.
The StringPreparser checks to see if there’s a Consultable in the current location. If so, then we use the standard library handling, on the assumption that the player is trying to looking something up in it. If not we change the command to SEEK X in order to invoke the new SeekAction defined below.
seekPreParser
:
StringPreParser
Superclass Tree (in declaration order)
seekPreParser
StringPreParser
PreinitObject
ModuleExecObject
` object`
Summary of Properties
Inherited from StringPreParser
:
isActive
regList
regListSorted
runOrder
Inherited from PreinitObject
:
execBeforeMe
reverseGlobalSymbols
Inherited from ModuleExecObject
:
execAfterMe
hasInitialized_
isDoingExec_
isExecuted_
Summary of Methods
Inherited from StringPreParser
:
construct
execute
registerPreParser
runAll
Inherited from ModuleExecObject
:
_execute
classExec
Properties
pat
no description available
Methods
doParsing (str, which)
OVERRIDDEN
no description available
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1