• Home
  • Raw
  • Download

Lines Matching full:kind

11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81 FunctionKind kind = FunctionKind::NORMAL_FUNCTION);
158 FunctionKind kind = GetFunctionKind(); in IsBase() local
159 return kind <= FunctionKind::CLASS_CONSTRUCTOR; in IsBase()
164 FunctionKind kind = GetFunctionKind(); in IsDerivedConstructor() local
165 return kind == FunctionKind::DERIVED_CONSTRUCTOR; in IsDerivedConstructor()
168 inline static bool IsArrowFunction(FunctionKind kind) in IsArrowFunction() argument
170 … return (kind >= FunctionKind::ARROW_FUNCTION) && (kind <= FunctionKind::ASYNC_ARROW_FUNCTION); in IsArrowFunction()
173 inline static bool IsClassConstructor(FunctionKind kind) in IsClassConstructor() argument
175 … return (kind == FunctionKind::CLASS_CONSTRUCTOR) || (kind == FunctionKind::DERIVED_CONSTRUCTOR); in IsClassConstructor()
178 inline static bool IsConstructorKind(FunctionKind kind) in IsConstructorKind() argument
180 … return (kind >= FunctionKind::BASE_CONSTRUCTOR) && (kind <= FunctionKind::DERIVED_CONSTRUCTOR); in IsConstructorKind()
185 FunctionKind kind = GetFunctionKind(); in IsBuiltinConstructor() local
186 …return kind >= FunctionKind::BUILTIN_PROXY_CONSTRUCTOR && kind <= FunctionKind::BUILTIN_CONSTRUCTO… in IsBuiltinConstructor()
189 inline static bool HasPrototype(FunctionKind kind) in HasPrototype() argument
191 …return (kind >= FunctionKind::BASE_CONSTRUCTOR) && (kind <= FunctionKind::ASYNC_GENERATOR_FUNCTION) in HasPrototype()
192 && (kind != FunctionKind::BUILTIN_PROXY_CONSTRUCTOR); in HasPrototype()
195 inline static bool HasAccessor(FunctionKind kind) in HasAccessor() argument
197 return kind >= FunctionKind::NORMAL_FUNCTION && kind <= FunctionKind::ASYNC_FUNCTION; in HasAccessor()
218 FunctionKind kind = FunctionKind::NORMAL_FUNCTION);