seekPreParser object | newbie.t[903]

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

`pat` | `newbie.t[918]`

no description available

Methods

`doParsing (str, which)`OVERRIDDEN | `newbie.t[904]`

no description available

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