V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
d
g
i
k
n
p
r
s
t
Functions
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
a
c
d
e
h
k
l
n
o
s
Typedefs
Enumerations
+
Files
File List
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
expression-scope-reparenter.h
1
// Copyright 2015 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_PARSING_EXPRESSION_SCOPE_REPARENTER_H_
6
#define V8_PARSING_EXPRESSION_SCOPE_REPARENTER_H_
7
8
#include <stdint.h>
9
10
namespace
v8
{
11
namespace
internal {
12
13
class
Expression;
14
class
Scope;
15
16
// When an extra declaration scope needs to be inserted to account for
17
// a sloppy eval in a default parameter or function body, the expressions
18
// needs to be in that new inner scope which was added after initial
19
// parsing.
20
//
21
// scope is the new inner scope, and its outer_scope() is assumed
22
// to be the scope which was used during the initial parse.
23
void
ReparentExpressionScope(
uintptr_t
stack_limit, Expression* expr,
24
Scope* scope);
25
26
}
// namespace internal
27
}
// namespace v8
28
29
#endif // V8_PARSING_EXPRESSION_SCOPE_REPARENTER_H_
uintptr_t
v8
Definition:
libplatform.h:13
v8
src
parsing
expression-scope-reparenter.h
Generated on Tue Dec 25 2018 14:39:33 by
1.8.14