specialTopicPreParserobject

actor.t[1903]

Superclass
Tree

Property
Summary

Method
Summary

Property
Details

Method
Details

Pre-parser for special ConvNode-specific commands. When the player character is talking to another character, and the NPC’s current ConvNode includes topics with their own commands, we’ll check the player’s input to see if it matches any of these topics.

specialTopicPreParser :   StringPreParser

Superclass Tree   (in declaration order)

specialTopicPreParser
StringPreParser
PreinitObject
ModuleExecObject
`                                 object`

Summary of Properties  

aOrTPat punctPat

Inherited from StringPreParser :
regList regListSorted runOrder

Inherited from ModuleExecObject :
execAfterMe execBeforeMe hasInitialized_ isDoingExec_ isExecuted_

Summary of Methods  

doParsing processInputStr

Inherited from StringPreParser :
construct execute registerPreParser runAll

Inherited from ModuleExecObject :
_execute classExec

Properties  

aOrTPat

en_us.t[2731]

pattern for string starting with “A” or “T” verbs

punctPat

en_us.t[2735]

pattern to eliminate punctuation marks from the string

Methods  

doParsing (str, which)OVERRIDDEN

actor.t[1904]

no description available

processInputStr (str)

actor.t[1939], en_us.t[2714]

Process the input string, as desired, for special-topic parsing. This method is for the language module’s use; by default, we do nothing.

Language modules should override this to remove punctuation marks and to do any other language-dependent processing to make the string parsable.

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3