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



160
161
162
163
164
165
# File 'lib/liquid/condition.rb', line 160

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