Class: Bade::AST::MixinCallNode
- Inherits:
-
MixinCommonNode
- Object
- Node
- MixinCommonNode
- Bade::AST::MixinCallNode
- Defined in:
- lib/bade/ast/node/mixin_node.rb
Instance Attribute Summary
Attributes inherited from MixinCommonNode
Attributes inherited from Node
#children, #filename, #lineno, #parent, #type
Instance Method Summary collapse
Methods inherited from MixinCommonNode
Methods inherited from Node
#==, #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Bade::AST::Node
Instance Method Details
#allowed_parameter_types ⇒ Object
36 37 38 |
# File 'lib/bade/ast/node/mixin_node.rb', line 36 def allowed_parameter_types %i[mixin_param mixin_key_param] end |
#blocks ⇒ Object
40 41 42 |
# File 'lib/bade/ast/node/mixin_node.rb', line 40 def blocks children.select { |a| a.type == :mixin_block } end |