module Crystalline::Utils
 
  Defined in:
crystalline/utils.crClass Method Summary
- 
        .format_def(d : Crystal::Def | Crystal::Macro, *, short = false)
        
          
Format a method definition or macro.
 - .locations_from_path(path : Crystal::Path, nodes : Array(Crystal::ASTNode)) : Array(Tuple(Crystal::Location, Crystal::Location)) | Nil
 - .locations_from_union(union : Crystal::Union, nodes : Array(Crystal::ASTNode), *, locations = [] of ::Tuple(Crystal::Location, Crystal::Location)) : Array(Tuple(Crystal::Location, Crystal::Location))
 - .lsp_range_from_node(node : Crystal::ASTNode)
 - .map_completion_kind(kind, *, default = LSP::CompletionItemKind::Variable)
 - .resolve_path(path : Crystal::Path, ast_nodes : Array(Crystal::ASTNode))
 
Class Method Detail
        
        def self.format_def(d : Crystal::Def | Crystal::Macro, *, short = false)
        #
      
      
        Format a method definition or macro.
        
        def self.locations_from_path(path : Crystal::Path, nodes : Array(Crystal::ASTNode)) : Array(Tuple(Crystal::Location, Crystal::Location)) | Nil
        #
      
      
      
        
        def self.locations_from_union(union : Crystal::Union, nodes : Array(Crystal::ASTNode), *, locations = [] of ::Tuple(Crystal::Location, Crystal::Location)) : Array(Tuple(Crystal::Location, Crystal::Location))
        #