Home > Class Reference > ENSLIB namespace > %iKnow.Compiler.GotoFunction
Private  Storage   

%iKnow.Compiler.GotoFunction


class %iKnow.Compiler.GotoFunction extends
%RegisteredObject

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 11


Summary


Properties
NextState RegexDictionary RegexEnabled StatesGlobal

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
AddTransition AddWord ConsumeInput DepthOrder
Get GetNextState ParseAlternatives Set
ToC ToHex


Properties


• property NextState as %Integer [ InitialExpression = 1 ];
• property RegexDictionary as RegexDictionary;
• property RegexEnabled as %Boolean [ InitialExpression = 0 ];
• property StatesGlobal as %String [ MultiDimensional ];

Methods


• method AddTransition(curState As %Integer, char As %String) as %Integer
• method AddWord(word As %String, stateOutputFunction As StateOutputFunction)
• method ConsumeInput(state As %Integer, input As %String, outputObj As %RegisteredObject, curToken As %String = "", escaping As %Boolean = 0)
• method DepthOrder(ByRef depth As %String, ByRef state As %String, ByRef input As %String, ByRef nextState As %String)
• method Get(state As %Integer, input As %String) as %Integer
• method GetNextState()
• classmethod ParseAlternatives(ByRef input As %String) as %List
Produces a list of alternatives of the form (a|b|cd)
• method Set(state As %Integer, input As %String, nextState As %Integer)
• method ToC(dir As %String = "")
• classmethod ToHex(bin As %String)
From a binary string "01101100" to a hex string "0xEB"