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



133
134
135
136
137
138
# File 'lib/liquid/condition.rb', line 133

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