seekPreParserobjectnewbie.t[896]

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  

pat 

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  

patnewbie.t[911]

no description available

Methods  

doParsing (str, which)OVERRIDDENnewbie.t[897]

no description available

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