Lines Matching refs:startLoc
503 ir::TypeNode *ASParser::ParseFunctionType(lexer::SourcePosition startLoc)
520 funcType->SetRange({startLoc, returnTypeAnnotation->End()});
761 [[maybe_unused]] ir::Expression **returnExpression, [[maybe_unused]] const lexer::SourcePosition &startLoc)
766 bool ASParser::ParsePotentialNonNullExpression(ir::Expression **returnExpression, lexer::SourcePosition startLoc)
773 (*returnExpression)->SetRange({startLoc, Lexer()->GetToken().End()});
779 const lexer::SourcePosition &startLoc, bool ignoreCallExpression)
819 (*returnExpression)->SetRange({startLoc, endLoc});
932 ir::TSIndexSignature *ASParser::ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly)
982 indexSignature->SetRange({startLoc, Lexer()->GetToken().End()});
1022 ir::AstNode *ASParser::ParsePropertyOrMethodSignature(const lexer::SourcePosition &startLoc, bool isReadonly)
1053 methodSignature->SetRange({startLoc, Lexer()->GetToken().End()});
1067 propertySignature->SetRange({startLoc, Lexer()->GetToken().End()});
1078 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
1086 return ParseIndexSignature(startLoc, isReadonly);
1089 return ParsePropertyOrMethodSignature(startLoc, isReadonly);
1547 ir::ExportDefaultDeclaration *ASParser::ParseExportDefaultDeclaration(const lexer::SourcePosition &startLoc,
1570 declNode = ParseModuleOrNamespaceDeclaration(startLoc);
1595 exportDeclaration->SetRange({startLoc, endLoc});
1605 friend ir::ExportNamedDeclaration *ASParser::ParseNamedExportDeclaration(const lexer::SourcePosition &startLoc);
1654 ir::ExportNamedDeclaration *ASParser::ParseNamedExportDeclaration(const lexer::SourcePosition &startLoc)
1669 exportDeclaration->SetRange({startLoc, decl->End()});
1699 lexer::SourcePosition startLoc = Lexer()->GetToken().Start();
1715 importDeclaration->SetRange({startLoc, endLoc});