abstract class Registery::BaseNode
- Registery::BaseNode
- Reference
- Object
Direct Known Subclasses
Defined in:
gl_generator/registery/base_node.crConstructors
Instance Method Summary
- #<<(child_node)
- #build
- #children : Array(Registery::BaseNode)
- #children=(children : Array(Registery::BaseNode))
- #find_child_by_name(name : String, class_filter : BaseNode.class | Nil = nil)
- #ignore?
- #name : String
- #name=(name : String)
- #parent : BaseNode | Nil
- #parent=(parent : BaseNode | Nil)
- #parse
- #push(*children : BaseNode)
- #root
- #root?
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #xml_node : XML::Node | Nil
- #xml_node=(xml_node : XML::Node | Nil)
Constructor Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.