Mint::LS::Definitions
Constructors
new(*, params : LSP::TextDocumentPositionParams, type_checker : TypeChecker, stack : Array(Ast::Node))
SourceInstance methods
definition(node : Ast::Access)
Sourcedefinition(node : Ast::Connect)
Sourcedefinition(node : Ast::ConnectVariable)
Sourcedefinition(node : Ast::HtmlAttribute)
Sourcedefinition(node : Ast::HtmlComponent)
Sourcedefinition(node : Ast::HtmlElement)
Sourcedefinition(node : Ast::HtmlStyle)
Sourcedefinition(node : Ast::Id)
Sourcedefinition(node : Ast::Type)
Sourcedefinition(node : Ast::TypeDestructuring)
Sourcedefinition(node : Ast::Variable)
Sourcedefinition(node : Ast::Node)
SourceReturns a LSP::LocationLink that links from source to the target node
The parent node is used to provide the full range for the target node. For example, for a function, target would be the function name, and parent would be the whole node, including function body and any comments
variable_lookup(node : Ast::Variable, target : Ast::Node | TypeChecker::Checkable)
Sourcevariable_lookup_parent(node : Ast::Variable, variable : Ast::Variable)
Sourcevariable_next_key(node : Ast::Variable)
Sourcevariable_record_key(node : Ast::Variable)
Source