MCPcopy Create free account
hub / github.com/argotorg/solidity / astNodeAtSourceLocation

Method astNodeAtSourceLocation

libsolidity/lsp/LanguageServer.cpp:569–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569ASTNode const* LanguageServer::astNodeAtSourceLocation(std::string const& _sourceUnitName, LineColumn const& _filePos)
570{
571 return std::get<ASTNode const*>(astNodeAndOffsetAtSourceLocation(_sourceUnitName, _filePos));
572}
573
574std::tuple<ASTNode const*, int> LanguageServer::astNodeAndOffsetAtSourceLocation(std::string const& _sourceUnitName, LineColumn const& _filePos)
575{

Callers 2

operator()Method · 0.80
operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected