class NASON::Token

Defined in:

nason/token.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : NASON::Any) ==

Instance methods inherited from class Object

===(other : NASON::Any) ===, nil_or_null? nil_or_null?, not_null! not_null!, null? null?, to_nason(io : IO) : Nil
to_nason : String
to_nason
, to_pretty_json(indent : String = " ") : String
to_pretty_json(io : IO, indent : String = " ") : Nil
to_pretty_json

Class methods inherited from class Object

from_nason(string_or_io, root : String)
from_nason(string_or_io)
from_nason

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def column_number : Int32 #

[View source]
def column_number=(column_number : Int32) #

[View source]
def float_value : Float64 #

[View source]
def int_value : Int64 #

[View source]
def kind : Kind #

[View source]
def kind=(kind : Kind) #

[View source]
def line_number : Int32 #

[View source]
def line_number=(line_number : Int32) #

[View source]
def raw_value : String #

[View source]
def raw_value=(raw_value : String) #

[View source]
def string_value : String #

[View source]
def string_value=(string_value : String) #

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

Appends a short String representation of this object which includes its class name and its object address.

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

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]