specialVerbMgr object | parser.t[6249]

The specialVerbMgr carries out various tasks needed for working with SpecialVerbs. In particular it preinitializes SpecialVerbs to add them to its LookupTable, and is responsible for matching SpecialVerbs to player input and translating and checking actions appropriately. Its methods and properties are entirely intended for internal use by the library and shouldn't normally be invoked or changed in user game code.

`specialVerbMgr : PreinitObject`

Superclass Tree (in declaration order)

`specialVerbMgr`
`PreinitObject`
`ModuleExecObject`
`object`

Summary of Properties

`currentSV maxKeyLen specTable vWords`

Inherited from `PreinitObject` :
`execBeforeMe reverseGlobalSymbols`

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

Summary of Methods

`addToTable checkSV execute findMatchingSV matchSV`

``

Inherited from `ModuleExecObject` :
`_execute classExec`

Properties

`currentSV` | `parser.t[6384]`

The SpecialVerb currently in use.

`maxKeyLen` | `parser.t[6418]`

The maxium number of words that can occur in a key to our specTable. This is calculated and stored here at preinit.

`specTable` | `parser.t[6411]`

Our LookupTable containing lists of grammar tokens (e.g., ['ring'] or ['go', 'across']) as keys and a list of matching SpecialVerbs as values.

`vWords` | `parser.t[6304]`

The verb words we're currently matching.

Methods

`addToTable (s, spec)` | `parser.t[6398]`

Add a SpecialVerb to our specTable; s is the key value containing the words that can invoke the SpecialVerb (e.g. ['ring'] or ['walk', 'across'] and spec is the matching SpecialVerb.

`checkSV (lst)` | `parser.t[6355]`

Call the checkSV() method on our currently active SpecialVerb, if we have one. Tbis is called by the current Command object just before invoking the relevant Doer for the command.

`execute ( )`OVERRIDDEN | `parser.t[6387]`

Carry out our preinitialization.

`findMatchingSV (toks)` | `parser.t[6250]`

no description available

`matchSV (toks)` | `parser.t[6306]`

no description available

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2