• Home
  • Raw
  • Download

Lines Matching refs:FunctionKind

55     FunctionKind GetFunctionKind() const  in GetFunctionKind()
90 FunctionKind kind = FunctionKind::NORMAL_FUNCTION);
162 FunctionKind kind = GetFunctionKind(); in IsGetterOrSetter()
163 return kind == FunctionKind::GETTER_FUNCTION || kind == FunctionKind::SETTER_FUNCTION; in IsGetterOrSetter()
168 FunctionKind kind = GetFunctionKind(); in IsGetter()
169 return kind == FunctionKind::GETTER_FUNCTION; in IsGetter()
174 FunctionKind kind = GetFunctionKind(); in IsBase()
175 return kind <= FunctionKind::CLASS_CONSTRUCTOR; in IsBase()
180 FunctionKind kind = GetFunctionKind(); in IsDerivedConstructor()
181 return kind == FunctionKind::DERIVED_CONSTRUCTOR; in IsDerivedConstructor()
184 inline static bool IsArrowFunction(FunctionKind kind) in IsArrowFunction()
186 … return (kind >= FunctionKind::ARROW_FUNCTION) && (kind <= FunctionKind::ASYNC_ARROW_FUNCTION); in IsArrowFunction()
189 inline static bool IsClassConstructor(FunctionKind kind) in IsClassConstructor()
191 … return (kind == FunctionKind::CLASS_CONSTRUCTOR) || (kind == FunctionKind::DERIVED_CONSTRUCTOR); in IsClassConstructor()
194 inline static bool IsConstructorKind(FunctionKind kind) in IsConstructorKind()
196 … return (kind >= FunctionKind::BASE_CONSTRUCTOR) && (kind <= FunctionKind::DERIVED_CONSTRUCTOR); in IsConstructorKind()
201 FunctionKind kind = GetFunctionKind(); in IsBuiltinConstructor()
202 …return kind >= FunctionKind::BUILTIN_PROXY_CONSTRUCTOR && kind <= FunctionKind::BUILTIN_CONSTRUCTO… in IsBuiltinConstructor()
205 inline static bool HasPrototype(FunctionKind kind) in HasPrototype()
207 …return (kind >= FunctionKind::BASE_CONSTRUCTOR) && (kind <= FunctionKind::ASYNC_GENERATOR_FUNCTION… in HasPrototype()
208 (kind != FunctionKind::BUILTIN_PROXY_CONSTRUCTOR); in HasPrototype()
211 inline static bool HasAccessor(FunctionKind kind) in HasAccessor()
213 return kind >= FunctionKind::NORMAL_FUNCTION && kind <= FunctionKind::ASYNC_FUNCTION; in HasAccessor()
236 FunctionKind kind = FunctionKind::NORMAL_FUNCTION);