class Mint::LS::Hover
- Mint::LS::Hover
- LSP::RequestMessage
- Reference
- Object
Overview
This is the class that handles the "textDocument/hover" request.
Defined in:
ls/hover.crls/hover/access.cr
ls/hover/argument.cr
ls/hover/css_definition.cr
ls/hover/function.cr
ls/hover/get.cr
ls/hover/html_attribute.cr
ls/hover/html_component.cr:3
ls/hover/html_component.cr:21
ls/hover/html_element.cr
ls/hover/property.cr
ls/hover/state.cr
ls/hover/statement.cr
ls/hover/string_literal.cr
ls/hover/type.cr
ls/hover/type_definition.cr
ls/hover/type_destructuring.cr
ls/hover/type_variant.cr
Constructors
-
.new(pull : JSON::PullParser)
This is the class that handles the "textDocument/hover" request.
Instance Method Summary
- #execute(server)
-
#hover(node : Nil, workspace) : Array(String)
Fallback handler for nil, obviously it should not happen.
- #hover(node : Ast::Access, workspace) : Array(String)
- #hover(node : Ast::Argument, workspace) : Array(String)
- #hover(node : Ast::CssDefinition, workspace) : Array(String)
- #hover(node : Ast::Function, workspace) : Array(String)
- #hover(node : Ast::Get, workspace) : Array(String)
- #hover(node : Ast::HtmlAttribute, workspace) : Array(String)
- #hover(node : Ast::Component, workspace) : Array(String)
- #hover(node : Ast::HtmlComponent, workspace) : Array(String)
- #hover(node : Ast::HtmlElement, workspace) : Array(String)
- #hover(node : Ast::Property, workspace) : Array(String)
- #hover(node : Ast::State, workspace) : Array(String)
- #hover(node : Ast::Statement, workspace) : Array(String)
- #hover(node : Ast::StringLiteral, workspace) : Array(String)
- #hover(node : Ast::Type, workspace) : Array(String)
- #hover(node : Ast::TypeDefinition, workspace) : Array(String)
- #hover(node : Ast::TypeDestructuring, workspace) : Array(String)
- #hover(node : Ast::TypeVariant, workspace) : Array(String)
-
#hover(node : Ast::Node, workspace) : Array(String)
Fallback handler for nodes that does not have a handler yet.
- #params : LSP::TextDocumentPositionParams
- #params=(params : LSP::TextDocumentPositionParams)
-
#type_of(node : Ast::Node, workspace)
Returns the type information of a node from the workspace
Instance methods inherited from class LSP::RequestMessage
execute(server : Server)
execute,
id : Int32 | String
id,
id=(id : Int32 | String)
id=,
method : String
method,
method=(method : String)
method=,
snippet_support : Bool | Nil
snippet_support,
snippet_support=(snippet_support : Bool | Nil)
snippet_support=
Constructor methods inherited from class LSP::RequestMessage
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(pull : JSON::PullParser)
#
This is the class that handles the "textDocument/hover" request.
Instance Method Detail
Fallback handler for nil, obviously it should not happen.
Fallback handler for nodes that does not have a handler yet.
Returns the type information of a node from the workspace