Lines Matching refs:Start
173 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseProgram()
425 lexer::SourcePosition bodyStart = lexer_->GetToken().Start(); in ParseTsTypeLiteralOrTsMappedType()
468 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTemplateLiteralType()
590 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTypeAnnotationElement()
727 lexer::SourcePosition startLoc = checkType->Start(); in ParseTsConditionalType()
795 lexer::SourcePosition typeOperatorStart = lexer_->GetToken().Start(); in ParseTsTypeOperatorOrTypeReference()
816 lexer::SourcePosition typeOperatorStart = lexer_->GetToken().Start(); in ParseTsTypeOperatorOrTypeReference()
831 lexer::SourcePosition typeOperatorStart = lexer_->GetToken().Start(); in ParseTsTypeOperatorOrTypeReference()
851 lexer::SourcePosition inferStart = lexer_->GetToken().Start(); in ParseTsTypeOperatorOrTypeReference()
893 lexer::SourcePosition startPos = lexer_->GetToken().Start(); in ParseTsTupleElement()
952 lexer::SourcePosition elementStartPos = element->Start(); in ParseTsTupleElement()
967 lexer::SourcePosition tupleStart = lexer_->GetToken().Start(); in ParseTsTupleType()
1001 lexer::SourcePosition startLoc = typeName->Start(); in ParseTsQualifiedReference()
1014 … typeName->SetRange({typeName->AsTSQualifiedName()->Left()->Start(), lexer_->GetToken().End()}); in ParseTsQualifiedReference()
1044 …typeName->SetRange({typeName->AsTSIndexedAccessType()->ObjectType()->Start(), lexer_->GetToken().E… in ParseTsIndexAccessType()
1053 lexer::SourcePosition referenceStartLoc = lexer_->GetToken().Start(); in ParseTsTypeReferenceOrQuery()
1125 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsMappedTypeParameter()
1128 paramName->SetRange({lexer_->GetToken().Start(), lexer_->GetToken().End()}); in ParseTsMappedTypeParameter()
1175 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsMappedType()
1232 lexer::SourcePosition startPos = lexer_->GetToken().Start(); in ParseTsTypePredicate()
1249 parameterName->SetRange({lexer_->GetToken().Start(), lexer_->GetToken().End()}); in ParseTsTypePredicate()
1387 lexer::SourcePosition memberStartLoc = lexer_->GetToken().Start(); in ParseTsTypeLiteralOrInterfaceMember()
1555 ThrowSyntaxError("Duplicated identifier", key->Start()); in CheckObjectTypeForDuplicatedProperties()
1610 lexer::SourcePosition startLoc = elementType->Start(); in ParseTsArrayType()
1630 startLoc = type->Start(); in ParseTsUnionType()
1633 startLoc = lexer_->GetToken().Start(); in ParseTsUnionType()
1673 startLoc = type->Start(); in ParseTsIntersectionType()
1676 startLoc = lexer_->GetToken().Start(); in ParseTsIntersectionType()
1753 lexer::SourcePosition typeStart = lexer_->GetToken().Start(); in ParseTsParenthesizedOrFunctionType()
2132 … ThrowSyntaxError("A get accessor must be at least as accessible as the setter", key->Start()); in CheckAccessorPair()
2157 desc->methodStart = lexer_->GetToken().Start(); in ParseClassKeyModifiers()
2170 desc->methodStart = lexer_->GetToken().Start(); in ParseClassKeyModifiers()
2203 desc->methodStart = lexer_->GetToken().Start(); in ValidateClassKey()
2419 decorators.front()->Start()); in ParseClassMethod()
2425 lexer::SourcePosition errorInfo = decorators.empty() ? func->Start() : decorators[0]->Start(); in ParseClassMethod()
2543 lexer::SourcePosition start = lexer_->GetToken().Start(); in ParseDecorator()
2569 ThrowSyntaxError("Decorators are not valid here.", decorators.front()->Start()); in ParseDecorators()
2585 desc.propStart = lexer_->GetToken().Start(); in ParseClassElement()
2606 ThrowSyntaxError("Decorators are not valid here.", decorators.front()->Start()); in ParseClassElement()
2635 ThrowSyntaxError("Decorators are not valid here.", decorators.front()->Start()); in ParseClassElement()
2645 …indexSignature->SetRange({indexSignature->Param()->Start(), indexSignature->TypeAnnotation()->End(… in ParseClassElement()
2803 *decl = Binder()->AddDecl<binder::ConstDecl>(lexer_->GetToken().Start(), isDeclare, identStr); in SetIdentNodeInClassDefinition()
2817 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseClassDefinition()
2862 lexer::SourcePosition implStart = lexer_->GetToken().Start(); in ParseClassDefinition()
2915 lexer::SourcePosition classBodyStartLoc = lexer_->GetToken().Start(); in ParseClassDefinition()
2938 ThrowSyntaxError("Constructor implementation is missing.", property->Start()); in ParseClassDefinition()
2942 … ThrowSyntaxError("Multiple constructor implementations are not allowed.", property->Start()); in ParseClassDefinition()
2985 ThrowSyntaxError("Constructor implementation is missing.", ctor->Start()); in ValidateClassConstructor()
2996 …ntaxError("A constructor cannot contain a super call when its class extends null.", ctor->Start()); in ValidateClassConstructor()
3019 ctor->Start()); in ValidateClassConstructor()
3023 … ThrowSyntaxError("Constructors for derived classes must contain a super call.", ctor->Start()); in ValidateClassConstructor()
3087 const auto &keyStartLoc = lexer_->GetToken().Start(); in ParseEnumMembers()
3105 lexer::SourcePosition initStart = lexer_->GetToken().Start(); in ParseEnumMembers()
3109 initStart = lexer_->GetToken().Start(); in ParseEnumMembers()
3135 lexer::SourcePosition enumStart = lexer_->GetToken().Start(); in ParseEnumDeclaration()
3152 Binder()->AddTsDecl<binder::EnumLiteralDecl>(lexer_->GetToken().Start(), isDeclare, in ParseEnumDeclaration()
3169 Binder()->ThrowRedeclaration(lexer_->GetToken().Start(), ident); in ParseEnumDeclaration()
3282 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTypeParameter()
3305 Binder()->AddDecl<binder::LetDecl>(lexer_->GetToken().Start(), false, ident); in ParseTsTypeParameter()
3308 paramIdent->SetRange({lexer_->GetToken().Start(), lexer_->GetToken().End()}); in ParseTsTypeParameter()
3343 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTypeParameterDeclaration()
3399 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseTsTypeParameterInstantiation()
3463 lexer::SourcePosition startLoc = lexer_->GetToken().Start(); in ParseFunction()
3543 it->Start()); in ValidateTsFunctionOverloadParams()
3551 lexer::SourcePosition startLocation = lexer_->GetToken().Start(); in ParseSpreadElement()
3624 lexer::SourcePosition parameterStart = lexer_->GetToken().Start(); in ParseFunctionParameter()
3638 lexer_->GetToken().Start()); in ParseFunctionParameter()
3722 ThrowSyntaxError("'await' in formal parameter is invalid.", node->Start()); in ValidateArrowParameterBindings()
3774 lexer_->GetToken().Start()); in ThrowParameterModifierError()
3779 ThrowSyntaxError(errorMessage, lexer_->GetToken().Start()); in ThrowSyntaxError()
3784 ThrowSyntaxError(list, lexer_->GetToken().Start()); in ThrowSyntaxError()
3848 auto pos = lexer_->GetToken().Start(); in RecursiveDepthException()