struct Savi::Compiler::Refer::TypeParam

Defined in:

savi/compiler/refer/info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(parent_link : Savi::Program::Type::Link | Savi::Program::TypeAlias::Link, index : Int32, ident : Savi::AST::Identifier, bound : Savi::AST::Node, default : Savi::AST::Node | Nil) #

[View source]

Instance Method Detail

def bound : AST::Term #

[View source]
def default : AST::Term | Nil #

[View source]
def ident : AST::Identifier #

[View source]
def index : Int32 #

[View source]
def parent(ctx) : Program::Type | Program::TypeAlias #

[View source]

[View source]