class Astrapi::Identifier

.….….….….….….…..

Public Class Methods

new(tok) click to toggle source
# File lib/ast.rb, line 51
def initialize tok
  @tok=tok
end

Public Instance Methods

==(other) click to toggle source
# File lib/ast.rb, line 63
def ==(other)
  str==other.str
end
str() click to toggle source
# File lib/ast.rb, line 55
def str
  @tok.val.to_s
end
to_s() click to toggle source
# File lib/ast.rb, line 59
def to_s
  str
end