Home
last modified time | relevance | path

Searched refs:is_pattern (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc530 bool is_pattern = false; in ParseVariableDeclarations() local
594 is_pattern = (pattern.IsObjectLiteral() || pattern.IsArrayLiteral()) && in ParseVariableDeclarations()
613 } else if ((require_initializer || is_pattern) && in ParseVariableDeclarations()
618 is_pattern ? "destructuring" : "const"); in ParseVariableDeclarations()
631 if (is_binding_pattern != nullptr) *is_binding_pattern = is_pattern; in ParseVariableDeclarations()
Dparser.cc2380 bool is_pattern = in ParseVariableDeclarations() local
2444 if ((parsing_result->descriptor.mode == CONST || is_pattern) && in ParseVariableDeclarations()
2449 is_pattern ? "destructuring" : "const"); in ParseVariableDeclarations()