class Bade::AST::MixinCommonNode

Attributes

name[RW]

@return [String]

Public Instance Methods

==(other) click to toggle source

@param [MixinCommonNode] other

Calls superclass method Bade::AST::Node#==
# File lib/bade/ast/node/mixin_node.rb, line 18
def ==(other)
  super && name == other.name
end
params() click to toggle source

@return [Array<Node>]

# File lib/bade/ast/node/mixin_node.rb, line 12
def params
  children.select { |n| allowed_parameter_types.include?(n.type) }
end