• Home
  • Raw
  • Download

Lines Matching refs:FunctionKind

51     FunctionKind kind) {  in FunctionKindToFunctionFlags()
54 case FunctionKind::kNormalFunction: in FunctionKindToFunctionFlags()
55 case FunctionKind::kArrowFunction: in FunctionKindToFunctionFlags()
56 case FunctionKind::kGeneratorFunction: in FunctionKindToFunctionFlags()
57 case FunctionKind::kAsyncFunction: in FunctionKindToFunctionFlags()
58 case FunctionKind::kAsyncArrowFunction: in FunctionKindToFunctionFlags()
59 case FunctionKind::kAsyncGeneratorFunction: in FunctionKindToFunctionFlags()
60 case FunctionKind::kBaseConstructor: in FunctionKindToFunctionFlags()
61 case FunctionKind::kDefaultBaseConstructor: in FunctionKindToFunctionFlags()
62 case FunctionKind::kConciseMethod: in FunctionKindToFunctionFlags()
63 case FunctionKind::kAsyncConciseMethod: in FunctionKindToFunctionFlags()
80 FunctionKind WebSnapshotSerializerDeserializer::FunctionFlagsToFunctionKind( in FunctionFlagsToFunctionKind()
82 FunctionKind kind; in FunctionFlagsToFunctionKind()
85 kind = FunctionKind::kInvalid; in FunctionFlagsToFunctionKind()
93 static const FunctionKind kFunctionKinds[] = { in FunctionFlagsToFunctionKind()
96 FunctionKind::kNormalFunction, // is_async = false in FunctionFlagsToFunctionKind()
97 FunctionKind::kAsyncFunction, // is_async = true in FunctionFlagsToFunctionKind()
99 FunctionKind::kGeneratorFunction, // is_async = false in FunctionFlagsToFunctionKind()
100 FunctionKind::kAsyncGeneratorFunction, // is_async = true in FunctionFlagsToFunctionKind()
104 FunctionKind::kArrowFunction, // is_async = false in FunctionFlagsToFunctionKind()
105 FunctionKind::kAsyncArrowFunction, // is_async = true in FunctionFlagsToFunctionKind()
107 FunctionKind::kInvalid, // is_async = false in FunctionFlagsToFunctionKind()
108 FunctionKind::kInvalid, // is_async = true in FunctionFlagsToFunctionKind()
112 FunctionKind::kConciseMethod, // is_async = false in FunctionFlagsToFunctionKind()
113 FunctionKind::kAsyncConciseMethod, // is_async = true in FunctionFlagsToFunctionKind()
116 FunctionKind::kInvalid, // is_async = false in FunctionFlagsToFunctionKind()
118 FunctionKind::kInvalid, // is_async = true in FunctionFlagsToFunctionKind()
123 FunctionKind::kInvalid, // is_async = false in FunctionFlagsToFunctionKind()
125 FunctionKind::kInvalid, // is_async = true in FunctionFlagsToFunctionKind()
129 FunctionKind::kInvalid, // is_async = false in FunctionFlagsToFunctionKind()
132 FunctionKind::kInvalid // is_async = true in FunctionFlagsToFunctionKind()
137 static const FunctionKind kFunctionKinds[] = { in FunctionFlagsToFunctionKind()
139 FunctionKind::kBaseConstructor, // is_default = false in FunctionFlagsToFunctionKind()
140 FunctionKind::kDefaultBaseConstructor, // is_default = true in FunctionFlagsToFunctionKind()
142 FunctionKind::kDerivedConstructor, // is_default = false in FunctionFlagsToFunctionKind()
143 FunctionKind::kDefaultDerivedConstructor // is_default = true in FunctionFlagsToFunctionKind()
147 kind = FunctionKind::kInvalid; in FunctionFlagsToFunctionKind()
149 if (kind == FunctionKind::kInvalid) { in FunctionFlagsToFunctionKind()
1710 ScopeInfo::FunctionKindBits::encode(FunctionKind::kNormalFunction) | in CreateScopeInfo()
1762 FunctionKind kind = FunctionFlagsToFunctionKind(flags); in CreateJSFunction()