Home
last modified time | relevance | path

Searched refs:PreParser (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/
Dpreparser.cc55 PreParser::PreParseResult PreParser::PreParseLazyFunction( in PreParseLazyFunction()
96 void PreParser::ReportUnexpectedToken(i::Token::Value token) { in ReportUnexpectedToken()
130 void PreParser::CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckOctalLiteral()
147 PreParser::Statement PreParser::ParseSourceElement(bool* ok) { in ParseSourceElement()
170 PreParser::SourceElements PreParser::ParseSourceElements(int end_token, in ParseSourceElements()
199 PreParser::Statement PreParser::ParseStatement(bool* ok) { in ParseStatement()
294 PreParser::Statement PreParser::ParseFunctionDeclaration(bool* ok) { in ParseFunctionDeclaration()
319 PreParser::Statement PreParser::ParseBlock(bool* ok) { in ParseBlock()
339 PreParser::Statement PreParser::ParseVariableStatement( in ParseVariableStatement()
359 PreParser::Statement PreParser::ParseVariableDeclarations( in ParseVariableDeclarations()
[all …]
Dpreparser.h107 class PreParser {
115 PreParser(i::Scanner* scanner, in PreParser() function
134 ~PreParser() {} in ~PreParser()
147 return PreParser(scanner, log, stack_limit, allow_lazy, in PreParseProgram()
308 PreParser::Identifier AsIdentifier() { in AsIdentifier()
309 return PreParser::Identifier( in AsIdentifier()
310 static_cast<PreParser::Identifier::Type>(code_ >> kIdentifierShift)); in AsIdentifier()
Dpreparser-api.cc194 preparser::PreParser::PreParseResult result = in Preparse()
195 preparser::PreParser::PreParseProgram(&scanner, in Preparse()
199 if (result == preparser::PreParser::kPreParseStackOverflow) { in Preparse()
Dparser.h806 preparser::PreParser::PreParseResult LazyParseFunctionLiteral(
818 preparser::PreParser* reusable_preparser_;
Dparser.cc4524 preparser::PreParser::PreParseResult result = in ParseFunctionLiteral()
4526 if (result == preparser::PreParser::kPreParseStackOverflow) { in ParseFunctionLiteral()
4654 preparser::PreParser::PreParseResult Parser::LazyParseFunctionLiteral( in LazyParseFunctionLiteral()
4662 reusable_preparser_ = new preparser::PreParser(&scanner_, in LazyParseFunctionLiteral()
4669 preparser::PreParser::PreParseResult result = in LazyParseFunctionLiteral()
5902 preparser::PreParser::PreParseResult result = in DoPreParse()
5903 preparser::PreParser::PreParseProgram(&scanner, in DoPreParse()
5907 if (result == preparser::PreParser::kPreParseStackOverflow) { in DoPreParse()
/external/v8/test/cctest/
Dtest-parsing.cc266 v8::preparser::PreParser::PreParseResult result = in TEST()
267 v8::preparser::PreParser::PreParseProgram(&scanner, in TEST()
271 CHECK_EQ(v8::preparser::PreParser::kPreParseSuccess, result); in TEST()
302 v8::preparser::PreParser::PreParseResult result = in TEST()
303 v8::preparser::PreParser::PreParseProgram(&scanner, in TEST()
307 CHECK_EQ(v8::preparser::PreParser::kPreParseSuccess, result); in TEST()
404 v8::preparser::PreParser::PreParseResult result = in TEST()
405 v8::preparser::PreParser::PreParseProgram(&scanner, in TEST()
409 CHECK_EQ(v8::preparser::PreParser::kPreParseStackOverflow, result); in TEST()
1053 v8::preparser::PreParser::PreParseResult result = in TestParserSync()
[all …]