Searched refs:endPos (Results 1 – 4 of 4) sorted by relevance
39 auto endPos = filePath.find_last_of('.'); in GetFileName() local40 if (endPos != std::string::npos) { in GetFileName()41 return filePath.substr(beginPos, endPos - beginPos); in GetFileName()69 auto endPos = subPath.find("/"); in GetHapName() local70 if (endPos == std::string::npos) { in GetHapName()74 return subPath.substr(0, endPos); in GetHapName()
946 lexer::SourcePosition endPos = element->End(); in ParseTsTupleElement() local948 element->SetRange({startPos, endPos}); in ParseTsTupleElement()1254 lexer::SourcePosition endPos; in ParseTsTypePredicate() local1258 endPos = parameterName->End(); in ParseTsTypePredicate()1260 result->SetRange({startPos, endPos}); in ParseTsTypePredicate()1268 endPos = typeAnnotation->End(); in ParseTsTypePredicate()1272 result->SetRange({startPos, endPos}); in ParseTsTypePredicate()
1265 lexer::SourcePosition endPos = exprNode->End(); in ParseExpressionStatement() local1268 exprStatementNode->SetRange({startPos.token.Start(), endPos}); in ParseExpressionStatement()2518 lexer::SourcePosition endPos = lexer_->GetToken().End(); in ParseExportNamedSpecifiers() local2531 exportDeclaration->SetRange({startLoc, endPos}); in ParseExportNamedSpecifiers()
1288 const lexer::SourcePosition &endPos = rightExpr->End(); in ParseBinaryExpression() local1290 rightExpr->SetRange({left->Start(), endPos}); in ParseBinaryExpression()