parameter-initializer-rewriter.h 638 Bytes
Newer Older
1 2 3 4
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6
#ifndef V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_
#define V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_
7

8
#include "src/ast/ast.h"
9 10 11 12 13 14 15 16 17 18 19 20 21

namespace v8 {
namespace internal {


void RewriteParameterInitializerScope(uintptr_t stack_limit,
                                      Expression* initializer, Scope* old_scope,
                                      Scope* new_scope);


}  // namespace internal
}  // namespace v8

22
#endif  // V8_PARSING_PARAMETER_EXPRESSION_REWRITER_H_