Class: Twig::Node::Expression::HelperMethod

Inherits:
Call
  • Object
show all
Defined in:
lib/twig/node/expression/helper_method.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #lineno, #nodes, #source_context, #tag

Instance Method Summary collapse

Methods inherited from Call

#compile

Methods inherited from Base

#explicit_parentheses?, #set_explicit_parentheses

Methods inherited from Base

#compile, #empty?, #length, #template_name, #to_s

Constructor Details

#initialize(name, arguments, lineno) ⇒ HelperMethod

Returns a new instance of HelperMethod.



7
8
9
# File 'lib/twig/node/expression/helper_method.rb', line 7

def initialize(name, arguments, lineno)
  super({ arguments: }, { name: }, lineno)
end