Lines Matching refs:startLoc

101     lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
117 auto script = ParseETSGlobalScript(startLoc, statements);
124 ir::ETSScript *ETSParser::ParseETSGlobalScript(lexer::SourcePosition startLoc, ArenaVector<ir::Statement *> &statements)
138 etsScript->SetRange({startLoc, Lexer()->GetToken().End()});
299 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
307 auto script = ParseETSGlobalScript(startLoc, statements);
335 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
339 lexer::SourcePosition endLoc = startLoc;
383 funcNode->SetRange({startLoc, endLoc});
455 const lexer::SourcePosition &startLoc)
469 classMethod->SetStart(startLoc);
493 const lexer::SourcePosition &startLoc)
510 auto parseClassMethod = [&memberModifiers, &startLoc, this](ir::Identifier *methodName) {
512 classMethod->SetStart(startLoc);
1000 ir::Statement *ETSParser::ParseExport(lexer::SourcePosition startLoc, ir::ModifierFlags modifiers)
1033 reExportDeclaration->SetRange({startLoc, endLoc});
1045 auto startLoc = Lexer()->GetToken().Start();
1059 packageDeclaration->SetRange({startLoc, Lexer()->GetToken().End()});
1116 auto startLoc = Lexer()->GetToken().Start();
1144 importDeclaration->SetRange({startLoc, endLoc});
1157 importDeclarationDefault->SetRange({startLoc, endLocDef});
1356 const auto startLoc = Lexer()->GetToken().Start();
1367 parameter->SetRange({startLoc, Lexer()->GetToken().End()});
1496 const lexer::SourcePosition &startLoc)
1509 declarator->SetRange({startLoc, endLoc});
1514 ir::VariableDeclarator *ETSParser::ParseVariableDeclarator(ir::Expression *init, lexer::SourcePosition startLoc,
1518 return ParseVariableDeclaratorInitializer(init, flags, startLoc);
1532 declarator->SetRange({startLoc, endLoc});
1590 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
1601 astNode->SetRange({startLoc, Lexer()->GetToken().End()});
1612 importDeclaration->SetRange({startLoc, endLoc});
1645 [[maybe_unused]] const lexer::SourcePosition &startLoc,
1754 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
1785 typeParam->SetRange({startLoc, Lexer()->GetToken().End()});
1858 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
1901 func->SetStart(startLoc);