class KDL::Node
Defined in:
kdl/node.crConstructors
Instance Method Summary
- #==(other : KDL::Node)
-
#==(other)
Returns
false
(other can only be aValue
here). - #[](index : Int) : Value::Type
- #[](key : String) : Value::Type
- #[](key : Symbol) : Value::Type
- #[]?(index : Int) : Value::Type | Nil
- #[]?(key : String) : Value::Type | Nil
- #[]?(key : Symbol) : Value::Type | Nil
- #arg(key) : Value::Type
- #arg : Value::Type
- #arg?(key) : Value::Type | Nil
- #arg? : Value::Type | Nil
- #args(key) : Array(Value::Type)
- #args : Array(Value::Type)
- #args?(key) : Array(Value::Type) | Nil
- #arguments : Array(KDL::Value)
- #arguments=(arguments : Array(KDL::Value))
- #child(index : Int) : Node
- #child(key : String) : Node
- #child(key : Symbol) : Node
- #child?(index : Int) : Node | Nil
- #child?(key : String) : Node | Nil
- #child?(key : Symbol) : Node | Nil
- #children : Array(KDL::Node)
- #children=(children : Array(KDL::Node))
- #dash_nodes
- #dash_vals(key) : Array(Value::Type)
- #dash_vals : Array(Value::Type)
- #dash_vals?(key) : Array(Value::Type) | Nil
- #dash_vals? : Array(Value::Type | Nil)
-
#hash(hasher)
See
Object#hash(hasher)
- #name : String
- #name=(name : String)
- #properties : Hash(String, KDL::Value)
- #properties=(properties : Hash(String, KDL::Value))
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #type : String?
- #type=(type : Nil | String)
Instance methods inherited from class Reference
==(other : KDL::Value)
==
Instance methods inherited from class Object
===(other : KDL::Value)
===
Constructor Detail
def self.new(name : String, *, arguments : Array(KDL::Value) = [] of KDL::Value, properties : Hash(String, KDL::Value) = {} of String => KDL::Value, children : Array(KDL::Node) = [] of Node, type : String | Nil = nil)
#
Instance Method Detail
def ==(other)
#