struct KDL::Token
- KDL::Token
- Struct
- Value
- Object
Defined in:
kdl/tokenizer.crConstructors
Instance Method Summary
- #==(other : self)
- #column : Int32
- #column=(column : Int32)
- #comment : String | Nil
- #comment=(comment : String | Nil)
- #line : Int32
- #line=(line : Int32)
- #meta : Hash(Symbol, String)
- #meta=(meta : Hash(Symbol, String))
- #type : Type
- #type=(type : Type)
- #value : KDL::Value::Type
- #value=(value : KDL::Value::Type)
Instance methods inherited from struct Value
==(other : KDL::Value)
==
Instance methods inherited from class Object
===(other : KDL::Value)
===
Constructor Detail
def self.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)
#