Home
last modified time | relevance | path

Searched refs:varFlags (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp205 VariableFlags varFlags = VariableFlags::HOIST_VAR; in AddLocal() local
207 … scope->Bindings().insert({newDecl->Name(), allocator->New<GlobalVariable>(newDecl, varFlags)}); in AddLocal()
209 … scope->PropagateBinding<LocalVariable>(allocator, newDecl->Name(), newDecl, varFlags); in AddLocal()
/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp1461 VariableParsingFlags varFlags = VariableParsingFlags::STOP_AT_IN | VariableParsingFlags::IN_FOR; in ParseForStatement() local
1466 varFlags |= VariableParsingFlags::DISALLOW_INIT; in ParseForStatement()
1479 initNode = ParseVariableDeclaration(varFlags | VariableParsingFlags::VAR); in ParseForStatement()
1483 initNode = ParseVariableDeclaration(varFlags | VariableParsingFlags::LET); in ParseForStatement()
1487 initNode = ParseVariableDeclaration(varFlags | VariableParsingFlags::CONST | in ParseForStatement()