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