• Home
  • Raw
  • Download

Lines Matching full:es2panda

33 ark::es2panda::ir::AstNode *GetIdentifier(ark::es2panda::ir::AstNode *node)  in GetIdentifier()
39 … return node->FindChild([](ark::es2panda::ir::AstNode *child) { return child->IsIdentifier(); }); in GetIdentifier()
44 std::string GetIdentifierName(ark::es2panda::ir::AstNode *node) in GetIdentifierName()
53 ark::es2panda::ir::AstNode *GetOwner(ark::es2panda::ir::AstNode *node) in GetOwner()
59 return GetIdentifier(ark::es2panda::compiler::DeclarationFromIdentifier(id->AsIdentifier())); in GetOwner()
66 LocationId GetLocationId(ark::es2panda::ir::AstNode *node, ark::es2panda::parser::Program *program) in GetLocationId()
94 std::set<ark::es2panda::lsp::ReferencedNode> FindReferences(const ark::es2panda::SourceFile &srcFil… in FindReferences()
97 ark::es2panda::lsp::Initializer initializer = ark::es2panda::lsp::Initializer(); in FindReferences()
103 std::set<ark::es2panda::lsp::ReferencedNode> res; in FindReferences()
104 ark::es2panda::parser::Program *pprogram = nullptr; in FindReferences()
105 …auto cb = [&tokenName, &pprogram, &filePath, &tokenLocationId, &res](ark::es2panda::ir::AstNode *n… in FindReferences()
118 … res.insert(ark::es2panda::lsp::ReferencedNode {filePath, node->Start().index, node->End().index, in FindReferences()
125 auto search = [&cb](ark::es2panda::parser::Program *program) -> void { in FindReferences()
134 auto pctx = reinterpret_cast<ark::es2panda::public_lib::Context *>(context); in FindReferences()
143 namespace ark::es2panda::lsp { namespace
144 std::set<ReferencedNode> FindReferences(CancellationToken *tkn, const std::vector<ark::es2panda::So… in FindReferences()
145 const ark::es2panda::SourceFile &srcFile, size_t position) in FindReferences()
151 ark::es2panda::lsp::Initializer initializer = ark::es2panda::lsp::Initializer(); in FindReferences()
160 …::GetLocationId(owner, reinterpret_cast<ark::es2panda::public_lib::Context *>(context)->parserProg… in FindReferences()
185 } // namespace ark::es2panda::lsp