Lines Matching refs:InputPosition
20 void UpdateSourcePosition(InputPosition from, InputPosition to, in UpdateSourcePosition()
106 InputPosition const begin = input.c_str(); in RunLexer()
107 InputPosition const end = begin + input.size(); in RunLexer()
108 InputPosition pos = begin; in RunLexer()
109 InputPosition token_start = pos; in RunLexer()
134 Symbol* Lexer::MatchToken(InputPosition* pos, InputPosition end) { in MatchToken()
135 InputPosition token_start = *pos; in MatchToken()
139 InputPosition token_end = token_start; in MatchToken()
269 bool Grammar::MatchChar(int (*char_class)(int), InputPosition* pos) { in MatchChar()
278 bool Grammar::MatchChar(bool (*char_class)(char), InputPosition* pos) { in MatchChar()
287 bool Grammar::MatchString(const char* s, InputPosition* pos) { in MatchString()
288 InputPosition current = *pos; in MatchString()
297 bool Grammar::MatchAnyChar(InputPosition* pos) { in MatchAnyChar()