Home
last modified time | relevance | path

Searched refs:AddFlag (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
DtupleType.h47 it->AddFlag(binder::VariableFlags::READONLY); in TupleType()
64 it->AddFlag(binder::VariableFlags::READONLY); in TupleType()
/arkcompiler/ets_frontend/es2panda/util/
Dconcurrent.cpp37 func->AddFlag(ir::ScriptFunctionFlags::CONCURRENT); in SetConcurrent()
Dhelpers.cpp713 func->AddFlag(ir::ScriptFunctionFlags::SHOW_SOURCE); in SetFuncFlagsForDirectives()
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp273 scope->AsVariableScope()->AddFlag(VariableScopeFlags::USE_ARGS); in InstantiateArguments()
399 outerVarScope->AddFlag(VariableScopeFlags::INNER_ARROW); in BuildScriptFunction()
429 variable->AddFlag(VariableFlags::INITIALIZED); in BuildVarDeclaratorId()
539 res.variable->AddFlag(VariableFlags::INITIALIZED); in BuildClassDefinition()
564 res.variable->AddFlag(VariableFlags::INITIALIZED); in BuildClassDefinition()
647 varScope->AddFlag(VariableScopeFlags::USE_SUPER); in ResolveReference()
854 ctor->Scope()->AddFlag(VariableScopeFlags::SET_LEXICAL_FUNCTION); in AddMandatoryParams()
Dvariable.h92 void AddFlag(VariableFlags flag) in VARIABLE_TYPES()
147 AddFlag(VariableFlags::LEXICAL_BOUND); in BindLexEnvSlot()
Dscope.cpp383 decl->AddFlag(DeclarationFlags::EXPORT); in ConvertLocalVariableToModuleVariable()
466 var->AddFlag(VariableFlags::INITIALIZED); in InitVariable()
468 var->AddFlag(VariableFlags::PER_ITERATION); in InitVariable()
Dbinder.h296 decl->AddFlag(flag); in AddTsDecl()
325 decl->AddFlag(flag); in AddDecl()
Ddeclaration.h93 void AddFlag(DeclarationFlags flag) in DECLARATION_KINDS()
Dscope.h380 void AddFlag(VariableScopeFlags flag) in AddFlag() function
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTupleType.cpp69 memberVar->AddFlag(binder::VariableFlags::OPTIONAL); in GetType()
/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.h178 void AddFlag(ir::ScriptFunctionFlags flags) in AddFlag() function
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dfunction.cpp133 paramVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckFunctionIdentifierParameter()
186 foundVar->AddFlag(binder::VariableFlags::OPTIONAL); in CreateParameterTypeForObjectAssignmentPattern()
223 paramVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckFunctionAssignmentPatternParameter()
252 patternVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckFunctionAssignmentPatternParameter()
DdestructuringContext.cpp545 memberVar->AddFlag(it->Flags()); in CreateObjectTypeForRest()
615 prop->AddFlag(binder::VariableFlags::INFERED_IN_PATTERN); in NextInferedType()
Dobject.cpp332 prop->AddFlag(propagateFlags); in GetPropertyOfUnionType()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp250 tupleMember->AddFlag(binder::VariableFlags::READONLY); in Check()
365 memberVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckPattern()
DobjectExpression.cpp570 patternVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckPattern()
668 memberVar->AddFlag(binder::VariableFlags::READONLY); in Check()
676 memberVar->AddFlag(binder::VariableFlags::NUMERIC_NAME); in Check()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h717 void AddFlag(ir::ScriptFunctionFlags flags) in AddFlag() function
736 AddFlag(ir::ScriptFunctionFlags::ASYNC); in ArrowFunctionContext()
739 AddFlag(ir::ScriptFunctionFlags::ARROW); in ArrowFunctionContext()
DexpressionParser.cpp375 arrowFunctionContext->AddFlag(ir::ScriptFunctionFlags::EXPRESSION); in ParseArrowFunctionExpressionBody()
2102 methodDefinitonNode->AddFlag(ir::ScriptFunctionFlags::METHOD); in ParsePropertyValue()
DparserImpl.cpp2434 func->AddFlag(ir::ScriptFunctionFlags::METHOD); in ParseClassMethod()
3511 functionContext.AddFlag(ir::ScriptFunctionFlags::OVERLOAD); in ParseFunction()
3516 functionContext.AddFlag(ir::ScriptFunctionFlags::OVERLOAD); in ParseFunction()