class YARP::ForwardingSuperNode
^^^^^
super
Represents the use of the ‘super` keyword without parentheses or arguments.
def accept(visitor)
def accept(visitor) visitor.visit_forwarding_super_node(self) end
def child_nodes
def child_nodes [block] end
def comment_targets
def comment_targets [*block] end
def copy(**params)
def copy(**params) ForwardingSuperNode.new( params.fetch(:block) { block }, params.fetch(:location) { location }, ) end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { block: block, location: location } end
def initialize(block, location)
def initialize(block, location) @block = block @location = location end
def inspect(inspector = NodeInspector.new)
def inspect(inspector = NodeInspector.new) inspector << inspector.header(self) if (block = self.block).nil? inspector << "└── block: ∅\n" else inspector << "└── block:\n" inspector << block.inspect(inspector.child_inspector(" ")).delete_prefix(inspector.prefix) end inspector.to_str end