class Mint::LS::FoldingRange

Defined in:

ls/folding_range.cr

Constructors

Instance Method Summary

Instance methods inherited from class LSP::RequestMessage

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) #

[View source]

Instance Method Detail

def execute(server) #

[View source]
def params : LSP::FoldingRangeParams #

[View source]
def params=(params : LSP::FoldingRangeParams) #

[View source]
def range(node : Ast::Node, comment : Ast::Comment | Nil) : Array(LSP::FoldingRange) #

[View source]
def range(start_line, end_line) : Array(LSP::FoldingRange) #

[View source]
def range(node : Ast::Component) : Array(LSP::FoldingRange) #

[View source]
def range(node : Ast::Module) : Array(LSP::FoldingRange) #

[View source]
def range(node : Ast::Function) : Array(LSP::FoldingRange) #

[View source]
def range(node : Ast::Node | Nil) : Array(LSP::FoldingRange) #

[View source]