class CON::PullParser

Defined in:

pull_parser.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : CON::Any) ==

Instance methods inherited from class Object

===(other : CON::Any) ===, from_con(con : String | IO) from_con, to_con(io : IO)
to_con
to_con
, to_pretty_con(indent : String = " ")
to_pretty_con(io : IO, indent : String = " ")
to_pretty_con

Constructor Detail

def self.new(string : String) #

[View source]
def self.new(io : IO) #

[View source]

Instance Method Detail

def column_number : Int32 #

[View source]
def expect(value, kind) #

[View source]
def expect(value, kind : T.class) forall T #

[View source]
def line_number : Int32 #

[View source]
def max_nesting : Int32 #

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

[View source]
def read_array(&block) #

[View source]
def read_array_unchecked(&block) #

[View source]
def read_document(&block) #

[View source]
def read_hash(&block) #

[View source]
def read_hash_unchecked(&block) #

[View source]
def read_key : String #

[View source]
def read_key_unchecked : String | Token | Nil #

[View source]
def read_value : Type #

[View source]
def read_value_unchecked : Type | Token #

[View source]
def skip_value #

Skips all subdata of a key


[View source]
def type_error(value, kind) #

[View source]