struct JIS2::TypeName

Included Modules

Defined in:

jis2.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Parser::AST

pos : Hash(Symbol, Pos) pos, pos=(pos : Hash(Symbol, Pos)) pos=, pos? : Hash(Symbol, Pos) | Nil pos?

Class methods inherited from module Parser::AST

compose_known_rules(builder : Parser::Analysis(T)) forall T compose_known_rules

Constructor Detail

def self.new(type : Type, name : String) #

[View source]

Class Method Detail

def self._structure__temp_41 #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(type _type = @type, name _name = @name) #

[View source]
def inspect(io : IO) #
Description copied from struct Struct

Appends this struct's name and instance variables names and values to the given IO.

struct Point
  def initialize(@x : Int32, @y : Int32)
  end
end

p1 = Point.new 1, 2
p1.to_s    # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"

[View source]
def name : String #

def type : Type #