abstract class Liquid::Block::Node
- Liquid::Block::Node
- Reference
- Object
Direct Known Subclasses
- Liquid::Block::BeginBlock
- Liquid::Block::EndBlock
- Liquid::Block::ExpressionNode
- Liquid::Block::InlineBlock
- Liquid::Block::RawNode
- Liquid::Block::Root
Defined in:
liquid/blocks/block.crConstructors
Instance Method Summary
- #<<(node : Node)
-
#==(other : self)
Returns
true
if this reference is the same as other. - #accept(visitor : Visitor)
- #children : Array(Liquid::Block::Node)
-
#inspect(io : IO)
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
- #lstrip=(lstrip : Bool)
- #lstrip? : Bool
- #rstrip=(rstrip : Bool)
- #rstrip? : Bool
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
def inspect(io : IO)
#
Description copied from class Reference
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>