Home
last modified time | relevance | path

Searched refs:ScriptFunctionFlags (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.h44 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_;
DscriptFunction.cpp90 {"expression", ((flags_ & ir::ScriptFunctionFlags::EXPRESSION) != 0)}, in Dump()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h630 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()
DparserImpl.cpp2302 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()
DexpressionParser.cpp366 arrowFunctionContext->AddFlag(ir::ScriptFunctionFlags::EXPRESSION); in ParseArrowFunctionExpressionBody()
2049 methodDefinitonNode->AddFlag(ir::ScriptFunctionFlags::METHOD); in ParsePropertyValue()
/arkcompiler/ets_frontend/es2panda/util/
Dconcurrent.cpp75 func->AddFlag(ir::ScriptFunctionFlags::CONCURRENT); in SetConcurrent()
/arkcompiler/ets_frontend/es2panda/ir/
DastNode.h82 enum class ScriptFunctionFlags { enum
94 DEFINE_BITOPS(ScriptFunctionFlags)
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp441 ir::ScriptFunctionFlags::NONE, false, Extension() == ScriptExtension::TS); in CreateCallExpressionForTsModule()