Example #1
0
        protected RegexTokenizer(string input)
        {
            TokenDefinitions = new List<TokenDefinition>();

            Position = new Position(this);
            _reader = new StringReader(input);
            _line = String.Empty;
        }
Example #2
0
 internal ExpectedTokenNotFoundException(string token, string foundToken, Position position)
     : base("Expected: '" + token + "' but found: '" + foundToken + "' at " + position.ToString()) { }