Class: Liquid::Include::ParseTreeVisitor

Inherits:
ParseTreeVisitor show all
Defined in:
lib/liquid/tags/include.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


103
104
105
106
107
108
# File 'lib/liquid/tags/include.rb', line 103

def children
  [
    @node.template_name_expr,
    @node.variable_name_expr,
  ] + @node.attributes.values
end