Lines Matching refs:Parser
8 #include "src/parsing/parser.h"
14 void Parser::PatternRewriter::DeclareAndInitializeVariables(
15 Parser* parser, Block* block,
24 rewriter.parser_ = parser;
38 void Parser::PatternRewriter::RewriteDestructuringAssignment(
39 Parser* parser, RewritableExpression* to_rewrite, Scope* scope) {
47 rewriter.parser_ = parser;
61 Expression* Parser::PatternRewriter::RewriteDestructuringAssignment(
62 Parser* parser, Assignment* assignment, Scope* scope) {
65 auto to_rewrite = parser->factory()->NewRewritableExpression(assignment);
66 RewriteDestructuringAssignment(parser, to_rewrite, scope);
71 Parser::PatternRewriter::PatternContext
72 Parser::PatternRewriter::SetAssignmentContextIfNeeded(Expression* node) {
85 Parser::PatternRewriter::PatternContext
86 Parser::PatternRewriter::SetInitializerContextIfNeeded(Expression* node) {
111 void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) {
150 // Move it to Parser::Declare() to make it easier to test
236 Variable* Parser::PatternRewriter::CreateTempVar(Expression* value) {
251 void Parser::PatternRewriter::VisitRewritableExpression(
317 void Parser::PatternRewriter::RewriteParameterScopes(Expression* expr) {
329 void Parser::PatternRewriter::VisitObjectLiteral(ObjectLiteral* pattern,
351 void Parser::PatternRewriter::VisitObjectLiteral(ObjectLiteral* node) {
357 void Parser::PatternRewriter::VisitArrayLiteral(ArrayLiteral* node,
597 void Parser::PatternRewriter::VisitArrayLiteral(ArrayLiteral* node) {
603 void Parser::PatternRewriter::VisitAssignment(Assignment* node) {
634 void Parser::PatternRewriter::VisitProperty(v8::internal::Property* node) {
649 void Parser::PatternRewriter::Visit##Node(v8::internal::Node*) { \