Home
last modified time | relevance | path

Searched refs:InputPosition (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/torque/
Dearley-parser.cc20 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()
[all …]
Dearley-parser.h86 using InputPosition = const char*; variable
89 MatchedInput(InputPosition begin, InputPosition end, SourcePosition pos) in MatchedInput()
91 InputPosition begin;
92 InputPosition end;
322 using PatternFunction = bool (*)(InputPosition* pos);
333 PatternFunction match_whitespace_ = [](InputPosition*) { return false; };
336 Symbol* MatchToken(InputPosition* pos, InputPosition end);
369 InputPosition* pos);
371 InputPosition* pos);
372 V8_EXPORT_PRIVATE static bool MatchAnyChar(InputPosition* pos);
[all …]
Dtorque-parser.cc820 static bool MatchWhitespace(InputPosition* pos) { in MatchWhitespace()
832 static bool MatchIdentifier(InputPosition* pos) { in MatchIdentifier()
839 static bool MatchStringLiteral(InputPosition* pos) { in MatchStringLiteral()
840 InputPosition current = *pos; in MatchStringLiteral()
865 static bool MatchHexLiteral(InputPosition* pos) { in MatchHexLiteral()
866 InputPosition current = *pos; in MatchHexLiteral()
877 static bool MatchDecimalLiteral(InputPosition* pos) { in MatchDecimalLiteral()
878 InputPosition current = *pos; in MatchDecimalLiteral()