Home
last modified time | relevance | path

Searched refs:startLoc (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp312 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsModuleDeclaration() local
316 return ParseTsAmbientExternalModuleDeclaration(startLoc, isDeclare); in ParseTsModuleDeclaration()
325 return ParseTsAmbientExternalModuleDeclaration(startLoc, isDeclare); in ParseTsModuleDeclaration()
329 return ParseTsModuleOrNamespaceDelaration(startLoc, isDeclare, isExport); in ParseTsModuleDeclaration()
332 …aration *ParserImpl::ParseTsAmbientExternalModuleDeclaration(const lexer::SourcePosition &startLoc, in ParseTsAmbientExternalModuleDeclaration() argument
368 moduleDecl->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsAmbientExternalModuleDeclaration()
374 …eDeclaration *ParserImpl::ParseTsModuleOrNamespaceDelaration(const lexer::SourcePosition &startLoc, in ParseTsModuleOrNamespaceDelaration() argument
444 moduleDecl->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsModuleOrNamespaceDelaration()
451 …qualsDeclaration *ParserImpl::ParseTsImportEqualsDeclaration(const lexer::SourcePosition &startLoc, in ParseTsImportEqualsDeclaration() argument
489 importEqualsDecl->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsImportEqualsDeclaration()
[all …]
DparserImpl.h148 : params(p), paramScope(ps), startLoc(sl), newStatus(ns) in ArrowFunctionDescriptor()
154 lexer::SourcePosition startLoc; variable
257 …ir::Expression *ParseTsFunctionType(lexer::SourcePosition startLoc, bool isConstructionType, bool …
275 … ir::TSImportType *ParseTsImportType(const lexer::SourcePosition &startLoc, bool isTypeof = false);
386 … const lexer::SourcePosition &startLoc,
390 …tialTsGenericFunctionCall(ir::Expression **returnExpression, const lexer::SourcePosition &startLoc,
392 …Expression *ParsePostPrimaryExpression(ir::Expression *primaryExpr, lexer::SourcePosition startLoc,
433 … ir::ExportDefaultDeclaration *ParseExportDefaultDeclaration(const lexer::SourcePosition &startLoc,
436 ir::ExportAllDeclaration *ParseExportAllDeclaration(const lexer::SourcePosition &startLoc);
437 …ir::ExportNamedDeclaration *ParseExportNamedSpecifiers(const lexer::SourcePosition &startLoc, bool…
[all …]
DexpressionParser.cpp85 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseYieldExpression() local
115 yieldNode->SetRange({startLoc, endLoc}); in ParseYieldExpression()
145 lexer::SourcePosition startLoc = expr->Start(); in ParseTsAsExpression() local
147 asExpr->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsAsExpression()
202 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseArrayExpression() local
235 ThrowSyntaxError("Rest element must be last element", startLoc); in ParseArrayExpression()
255 arrayExpressionNode->SetRange({startLoc, lexer_->GetToken().End()}); in ParseArrayExpression()
393 funcNode->SetRange({desc->startLoc, endLoc}); in ParseArrowFunctionExpressionBody()
488 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsGenericArrowFunction() local
516 …criptor desc(std::move(params), funcParamContext.LexicalScope().GetScope(), startLoc, arrowStatus); in ParseTsGenericArrowFunction()
[all …]
DparserImpl.cpp173 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseProgram() local
184 blockStmt->SetRange({startLoc, lexer_->GetToken().End()}); in ParseProgram()
468 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTemplateLiteralType() local
514 typeAnnotation->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsTemplateLiteralType()
590 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTypeAnnotationElement() local
591 return ParseTsImportType(startLoc); in ParseTsTypeAnnotationElement()
642 ir::TSImportType *ParserImpl::ParseTsImportType(const lexer::SourcePosition &startLoc, bool isTypeo… in ParseTsImportType() argument
697 importType->SetRange({startLoc, lexer_->GetToken().End()}); in ParseTsImportType()
727 lexer::SourcePosition startLoc = checkType->Start(); in ParseTsConditionalType() local
761 conditionalType->SetRange({startLoc, endLoc}); in ParseTsConditionalType()
[all …]
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.cpp1190 std::unique_ptr<Location> startLoc = std::make_unique<Location>(); in GetLocalScopeChain() local
1192 auto scriptFunc = [&startLoc, &endLoc, lines](PtScript *script) -> bool { in GetLocalScopeChain()
1193 startLoc->SetScriptId(script->GetScriptId()) in GetLocalScopeChain()
1204 .SetStartLocation(std::move(startLoc)) in GetLocalScopeChain()