Home
last modified time | relevance | path

Searched refs:kSyntaxError (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/
Dpending-compilation-error-handler.h31 error_type_(kSyntaxError) {} in PendingCompilationErrorHandler()
36 ParseErrorType error_type = kSyntaxError) {
50 ParseErrorType error_type = kSyntaxError) {
Dpending-compilation-error-handler.cc46 case kSyntaxError: in ThrowPendingError()
Dglobals.h1080 enum ParseErrorType { kSyntaxError = 0, kReferenceError = 1 }; enumerator
/external/libchrome/base/json/
Djson_reader.cc19 const char JSONReader::kSyntaxError[] = member in base::JSONReader
90 return kSyntaxError; in ErrorCodeToString()
Djson_parser_unittest.cc220 EXPECT_EQ(JSONParser::FormatErrorMessage(5, 10, JSONReader::kSyntaxError), in TEST_F()
233 EXPECT_EQ(JSONParser::FormatErrorMessage(5, 10, JSONReader::kSyntaxError), in TEST_F()
280 EXPECT_EQ(JSONParser::FormatErrorMessage(1, 2, JSONReader::kSyntaxError), in TEST_F()
Djson_reader.h78 static const char kSyntaxError[]; variable
/external/v8/src/runtime/
Druntime-scopes.cc28 enum class RedeclarationType { kSyntaxError = 0, kTypeError = 1 }; enumerator
33 if (redeclaration_type == RedeclarationType::kSyntaxError) { in ThrowRedeclarationError()
59 RedeclarationType::kSyntaxError); in DeclareGlobal()
179 is_var, is_function, RedeclarationType::kSyntaxError, feedback_vector, in DeclareGlobals()
260 RedeclarationType::kSyntaxError); in DeclareEvalHelper()
680 RedeclarationType::kSyntaxError); in FindNameClash()
696 RedeclarationType::kSyntaxError); in FindNameClash()
/external/v8/src/parsing/
Dexpression-classifier.h64 type(kSyntaxError), in Error()
69 ParseErrorType t = kSyntaxError)
Dparser.h898 ParseErrorType error_type = kSyntaxError) {
914 ParseErrorType error_type = kSyntaxError) {
Dparser-base.h923 static_cast<const char*>(nullptr), kSyntaxError); in ReportMessage()
928 ParseErrorType error_type = kSyntaxError) {
4466 MessageTemplate::kUnexpectedToken, "ILLEGAL", kSyntaxError); in ParseTemplateLiteral()
4497 MessageTemplate::kUnexpectedToken, "ILLEGAL", kSyntaxError); in ParseTemplateLiteral()
4528 MessageTemplate::kStrictEvalArguments, kSyntaxError); in CheckAndRewriteReferenceExpression()
5557 kSyntaxError, CHECK_OK); in ParseForEachStatementWithoutDeclarations()
5757 kSyntaxError, CHECK_OK); in ParseForAwaitStatement()
Dpreparser.h1433 ParseErrorType error_type = kSyntaxError) {
1442 ParseErrorType error_type = kSyntaxError) {