class Prism::ForwardingSuperNode
^^^^^
super
Represents the use of the ‘super` keyword without parentheses or arguments.
def self.type
def self.type :forwarding_super_node end
def ===(other)
Implements case-equality for the node. This is effectively == but without
def ===(other) other.is_a?(ForwardingSuperNode) && (block === other.block) end
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] #: Array[Prism::node | Location] end
def compact_child_nodes
def compact_child_nodes compact = [] #: Array[Prism::node] compact << block if block compact end
def copy(node_id: self.node_id, location: self.location, flags: self.flags, block: self.block)
def copy(node_id: self.node_id, location: self.location, flags: self.flags, block: self.block) ForwardingSuperNode.new(source, node_id, location, flags, block) end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { node_id: node_id, location: location, block: block } end
def initialize(source, node_id, location, flags, block)
def initialize(source, node_id, location, flags, block) @source = source @node_id = node_id @location = location @flags = flags @block = block end
def inspect
def inspect InspectVisitor.compose(self) end
def type
def type :forwarding_super_node end