Beispiel #1
0
 public Reader(string input, Props.Bot bot, Levels.ParentLevel form)
 {
     _inputText = input + "\n\n";
     this.bot   = bot;
     this.form  = form;
     _lineNo    = 0;
     variables.Clear();
 }
Beispiel #2
0
 public Interpreter(string input, Props.Bot bot, Levels.ParentLevel form) : base(input, bot, form)
 {
     reset();
     while (_postText != "")
     {
         nextLine();
         processLine(_currentLine);
     }
 }
Beispiel #3
0
 public ErrorChecker(string input, Props.Bot bot, Levels.ParentLevel form) : base(input, bot, form)
 {
     HasError = false;
     reset();
     do
     {
         findError();
         nextLine();
         _preIndex += _currentLine.Length + 1;
         if (_postText != "")
         {
             _preText = _inputText.Substring(0, _preIndex);
         }
     }while (_postText != "");
 }