class Savi::Program::TypeAlias

Defined in:

savi/program.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ident : Savi::AST::Identifier, params : Nil | Savi::AST::Group) #

[View source]

Instance Method Detail

def ==(other) #
Description copied from class Reference

Returns false (other can only be a Value here).


[View source]
def add_tag(tag : Symbol) #

[View source]
def has_tag?(tag : Symbol) #

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

[View source]
def ident=(ident : AST::Identifier) #

[View source]
def inspect(io : IO) #
Description copied from class Reference

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>

[View source]
def make_link(package : Package) #

[View source]
def make_link(package : Package::Link) #

[View source]
def metadata : Hash(Symbol, Bool | UInt64) #

[View source]
def params : AST::Group | Nil #

[View source]
def params=(params : AST::Group | Nil) #

[View source]
def target : AST::Term #

def target=(target : AST::Term) #

[View source]
def target? : AST::Term | Nil #