Class: Liquid::Condition::ParseTreeVisitor

Inherits:
ParseTreeVisitor show all
Defined in:
lib/liquid/condition.rb

Instance Method Summary collapse

Methods inherited from ParseTreeVisitor

#add_callback_for, for, #initialize, #visit

Constructor Details

This class inherits a constructor from Liquid::ParseTreeVisitor

Instance Method Details

#childrenObject



163
164
165
166
167
168
169
170
# File 'lib/liquid/condition.rb', line 163

def children
  [
    @node.left,
    @node.right,
    @node.child_condition,
    @node.attachment
  ].compact
end