Home | History | Annotate | Download | only in parsing

Lines Matching full:language_mode

98     LanguageMode language_mode, bool* ok) {
101 function_token_position, type, arity_restriction, language_mode, ok);
106 LanguageMode language_mode, FunctionKind kind, bool has_simple_parameters,
114 scope_->SetLanguageMode(language_mode);
132 if (is_strict(scope_->language_mode())) {
137 if (is_strong(scope_->language_mode()) && IsSubclassConstructor(kind)) {
235 if (is_strong(language_mode()) && scope_->is_function_scope() &&
260 static_cast<LanguageMode>(scope_->language_mode() | STRICT));
263 scope_->language_mode() | STRONG));
359 if (is_strong(language_mode())) {
405 if (is_strict(language_mode())) {
426 if (is_sloppy(language_mode()) && allow_legacy_const()) {
455 FunctionLiteral::kNormalArity, language_mode(),
463 if (!allow_harmony_sloppy() && is_sloppy(language_mode())) {
532 if (is_strong(language_mode())) {
551 if (is_strict(language_mode()) ||
654 if (is_strong(language_mode()) &&
705 DCHECK(is_sloppy(language_mode()) ||
717 is_sloppy(language_mode()) && expr.IsIdentifier() &&
805 if (is_strong(language_mode()) &&
824 if (is_strict(language_mode())) {
867 if (is_strong(language_mode()) && !statement.IsJumpStatement() &&
940 (is_strict(language_mode()) || mode == ForEachStatement::ITERATE ||
994 is_sloppy(language_mode()) && is_let_identifier_expression) {
1103 LanguageMode language_mode, bool* ok) {
1110 function_scope->SetLanguageMode(language_mode);
1144 language_mode = function_scope->language_mode();
1148 CheckFunctionName(language_mode, function_name, function_name_validity,
1151 is_sloppy(language_mode) && formals.is_simple && !IsConciseMethod(kind);
1152 ValidateFormalParameters(&formals_classifier, language_mode,
1155 if (is_strict(language_mode)) {
1160 if (is_strong(language_mode) && IsSubclassConstructor(kind)) {
1186 function_state_->expected_property_count(), language_mode(),
1206 LanguageMode class_language_mode = language_mode();