class SyntaxTree::ZSuper
super
ZSuper represents the bare super keyword with no arguments.
def ===(other)
def ===(other) other.is_a?(ZSuper) end
def accept(visitor)
def accept(visitor) visitor.visit_zsuper(self) end
def child_nodes
def child_nodes [] end
def copy(location: nil)
def copy(location: nil) node = ZSuper.new(location: location || self.location) node.comments.concat(comments.map(&:copy)) node end
def deconstruct_keys(_keys)
def deconstruct_keys(_keys) { location: location, comments: comments } end
def format(q)
def format(q) q.text("super") end
def initialize(location:)
def initialize(location:) @location = location @comments = [] end