internal override ExitType Eval(Tokenizer tokenizer = null, WordListBuilder wlb = null) { foreach (var evaluable in _subwords) { //var et = evaluable.Eval(tokenizer); var et = evaluable.Eval(tokenizer); if (et != ExitType.Okay) { if (_isDefined && et == ExitType.Exit) { return(ExitType.Okay); } return(et); } } return(ExitType.Okay); }
private static void begin(Tokenizer tokenizer, WordListBuilder wlb) { BeginAction.Begin(tokenizer, wlb); }
private static void questDofn(Tokenizer tokenizer, WordListBuilder wlb) { DoAction.Do(tokenizer, wlb, true); }
private static void dofn(Tokenizer tokenizer, WordListBuilder wlb) { DoAction.Do(tokenizer, wlb, false); }
private static void iffn(Tokenizer tokenizer, WordListBuilder wlb) { IfAction.If(tokenizer, wlb); }
private static void netType(Tokenizer tokenizer, WordListBuilder wlb) { FStringAction.FString(tokenizer, wlb, StringType.Type); }
private static void stackString(Tokenizer tokenizer, WordListBuilder wlb) { FStringAction.FString(tokenizer, wlb, StringType.Stack); }
private static void countedString(Tokenizer tokenizer, WordListBuilder wlb) { FStringAction.FString(tokenizer, wlb); }