1 typedef unsigned long uintptr_t;
14 class FuncNameInferrer
;
15 template <typename Traits
> class ParserBase
: Traits
{
17 bool parenthesized_function_
;
18 typename
Traits::Type::Scope
*scope_
;
19 FunctionState
*function_state_
;
20 v8::Extension
*extension_
;
21 FuncNameInferrer
*fni_
;
23 uintptr_t stack_limit_
;
26 bool allow_natives_syntax_
;
27 bool allow_generators_
;
29 typename
Traits::Type::Zone
*zone_
;
33 class PreParserTraits
{
36 typedef PreParserScope Scope
;
43 class F
: ParserBase
<PreParserTraits
> {};
47 typedef v8::internal::FuncNameInferrer Scope
;
51 class G
: ParserBase
<C
> {
55 F reusable_preparser_
;
59 D(int a
) : function_(0), context_(0), nested_scope_chain_(0) { G::test(); }
62 A nested_scope_chain_
;