module Savi::AST::Extract

Defined in:

savi/ast/extract.cr

Class Method Summary

Class Method Detail

def self.name_and_params(node : AST::Term) : Tuple(AST::Identifier, AST::Group | Nil) #

[View source]
def self.param(node : AST::Term) : Tuple(AST::Identifier, AST::Term | Nil, AST::Term | Nil) #

[View source]
def self.params(node : AST::Group | Nil) #

[View source]
def self.type_arg(node : AST::Term) : Tuple(AST::Identifier, AST::Identifier | Nil) #

[View source]
def self.type_param(node : AST::Term) : Tuple(AST::Identifier, AST::Term | Nil, AST::Term | Nil) #

[View source]
def self.type_params(node : AST::Group | Nil) #

[View source]