Searched refs:ScriptFunctionFlags (Results 1 – 8 of 8) sorted by relevance
44 ir::ScriptFunctionFlags flags, bool declare, bool isTsFunction) in ScriptFunction()114 return (flags_ & ir::ScriptFunctionFlags::GENERATOR) != 0; in IsGenerator()119 return (flags_ & ir::ScriptFunctionFlags::ASYNC) != 0; in IsAsync()124 return (flags_ & ir::ScriptFunctionFlags::ARROW) != 0; in IsArrow()129 return (flags_ & ir::ScriptFunctionFlags::OVERLOAD) != 0; in IsOverload()134 return (flags_ & ir::ScriptFunctionFlags::CONSTRUCTOR) != 0; in IsConstructor()139 return (flags_ & ir::ScriptFunctionFlags::METHOD) != 0; in IsMethod()157 void AddFlag(ir::ScriptFunctionFlags flags) in AddFlag()172 return (flags_ & ir::ScriptFunctionFlags::CONCURRENT) != 0; in IsConcurrent()196 ir::ScriptFunctionFlags flags_;
90 {"expression", ((flags_ & ir::ScriptFunctionFlags::EXPRESSION) != 0)}, in Dump()
630 flags_ |= ir::ScriptFunctionFlags::GENERATOR; in FunctionContext()634 flags_ |= ir::ScriptFunctionFlags::ASYNC; in FunctionContext()638 flags_ |= ir::ScriptFunctionFlags::CONSTRUCTOR; in FunctionContext()642 ir::ScriptFunctionFlags Flags() const in Flags()647 void AddFlag(ir::ScriptFunctionFlags flags) in AddFlag()657 ir::ScriptFunctionFlags flags_ {ir::ScriptFunctionFlags::NONE};666 AddFlag(ir::ScriptFunctionFlags::ASYNC); in ArrowFunctionContext()669 AddFlag(ir::ScriptFunctionFlags::ARROW); in ArrowFunctionContext()
2302 func->AddFlag(ir::ScriptFunctionFlags::METHOD); in ParseClassMethod()2569 ir::ScriptFunctionFlags::CONSTRUCTOR, isDeclare, in CreateImplicitConstructor()3245 functionContext.AddFlag(ir::ScriptFunctionFlags::OVERLOAD); in ParseFunction()3250 functionContext.AddFlag(ir::ScriptFunctionFlags::OVERLOAD); in ParseFunction()
366 arrowFunctionContext->AddFlag(ir::ScriptFunctionFlags::EXPRESSION); in ParseArrowFunctionExpressionBody()2049 methodDefinitonNode->AddFlag(ir::ScriptFunctionFlags::METHOD); in ParsePropertyValue()
75 func->AddFlag(ir::ScriptFunctionFlags::CONCURRENT); in SetConcurrent()
82 enum class ScriptFunctionFlags { enum94 DEFINE_BITOPS(ScriptFunctionFlags)
441 ir::ScriptFunctionFlags::NONE, false, Extension() == ScriptExtension::TS); in CreateCallExpressionForTsModule()