private void RaiseErrorOccurred(ParseError code, TextPosition position) { _lexer.RaiseErrorOccurred(code, position); }
public UnitToken(TokenType type, string value, string dimension, TextPosition position) : base(type, value, position) { Unit = dimension; }
private StylesheetText CreateView(TextPosition start, TextPosition end) { var range = new TextRange(start, end); return new StylesheetText(range, _lexer.Source); }
public StringToken(string data, bool valid, char quote, TextPosition position) : base(TokenType.String, data, position) { IsValid = valid; Quote = quote; }