Home
last modified time | relevance | path

Searched defs:TorqueGrammar (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/torque/
Dtorque-parser.cc819 struct TorqueGrammar : Grammar { struct
820 static bool MatchWhitespace(InputPosition* pos) { in MatchWhitespace()
832 static bool MatchIdentifier(InputPosition* pos) { in MatchIdentifier()
839 static bool MatchStringLiteral(InputPosition* pos) { in MatchStringLiteral()
865 static bool MatchHexLiteral(InputPosition* pos) { in MatchHexLiteral()
877 static bool MatchDecimalLiteral(InputPosition* pos) { in MatchDecimalLiteral()
897 TorqueGrammar() : Grammar(&file) { SetWhitespace(MatchWhitespace); } in TorqueGrammar() argument
900 Symbol identifier = {Rule({Pattern(MatchIdentifier)}, YieldMatchedInput)};
903 Symbol stringLiteral = {
907 Symbol externalString = {Rule({&stringLiteral}, StringLiteralUnquoteAction)};
[all …]