Beispiel #1
0
        private void AddToken(CommandTokenKind k, String data)
        {
            var tok = new CommandToken(k, data, _console);

            _console.PrintDebug("Found token -> " + k + " : " + data + " : " + tok.Eval.GetType().FullName);
            _tokens.Add(tok);
            _segments    = "";
            _isString    = false;
            _isCodeBlock = false;
        }
 private void AddToken(CommandTokenKind k, String data)
 {
     var tok = new CommandToken(k, data, _console);
     _console.PrintDebug("Found token -> " + k + " : " + data + " : " + tok.Eval.GetType().FullName);
     _tokens.Add(tok);
     _segments = "";
     _isString = false;
     _isCodeBlock = false;
 }