struct

KDL::Token

Inherits Struct < Value < Object

Constructors

new(type : KDL::Token::Type, value : BigDecimal | BigInt | Bool | Float32 | Float64 | Int128 | Int16 | Int32 | Int64 | Int8 | String | UInt128 | UInt16 | UInt32 | UInt64 | UInt8 | Nil, line : Int32 = 1, column : Int32 = 1, meta : Hash(Symbol, String) = {} of Symbol => String, comment : Nil | String = nil)
Source

Instance methods

==(other : self)
Source
column
Source
column=(column : Int32)
Source
comment
Source
comment=(comment : String | Nil)
Source
line
Source
line=(line : Int32)
Source
meta
Source
meta=(meta : Hash(Symbol, String))
Source
type
Source
type=(type : Type)
Source
value
Source
value=(value : KDL::Value::Type)
Source

Nested types