• Home
  • Raw
  • Download

Lines Matching refs:rewriter

18   PatternRewriter rewriter;  in DeclareAndInitializeVariables()  local
22 rewriter.scope_ = declaration_descriptor->scope; in DeclareAndInitializeVariables()
23 rewriter.parser_ = declaration_descriptor->parser; in DeclareAndInitializeVariables()
24 rewriter.context_ = BINDING; in DeclareAndInitializeVariables()
25 rewriter.pattern_ = declaration->pattern; in DeclareAndInitializeVariables()
26 rewriter.initializer_position_ = declaration->initializer_position; in DeclareAndInitializeVariables()
27 rewriter.block_ = block; in DeclareAndInitializeVariables()
28 rewriter.descriptor_ = declaration_descriptor; in DeclareAndInitializeVariables()
29 rewriter.names_ = names; in DeclareAndInitializeVariables()
30 rewriter.ok_ = ok; in DeclareAndInitializeVariables()
31 rewriter.recursion_level_ = 0; in DeclareAndInitializeVariables()
33 rewriter.RecurseIntoSubpattern(rewriter.pattern_, declaration->initializer); in DeclareAndInitializeVariables()
39 PatternRewriter rewriter; in RewriteDestructuringAssignment() local
44 rewriter.scope_ = scope; in RewriteDestructuringAssignment()
45 rewriter.parser_ = parser; in RewriteDestructuringAssignment()
46 rewriter.context_ = ASSIGNMENT; in RewriteDestructuringAssignment()
47 rewriter.pattern_ = to_rewrite; in RewriteDestructuringAssignment()
48 rewriter.block_ = nullptr; in RewriteDestructuringAssignment()
49 rewriter.descriptor_ = nullptr; in RewriteDestructuringAssignment()
50 rewriter.names_ = nullptr; in RewriteDestructuringAssignment()
51 rewriter.ok_ = &ok; in RewriteDestructuringAssignment()
52 rewriter.recursion_level_ = 0; in RewriteDestructuringAssignment()
54 rewriter.RecurseIntoSubpattern(rewriter.pattern_, nullptr); in RewriteDestructuringAssignment()