class YARP::NilNode
Experimental RBS support (using type sampling data from the type_fusion project).
# sig/yarp/node.rbs class YARP::NilNode < YARP::Node def initialize: (YARP::Location location) -> void end
^^^
nil
Represents the use of the ‘nil` keyword.
def accept(visitor)
def accept(visitor) visitor.visit_nil_node(self) end
def child_nodes
def child_nodes [] end
def comment_targets
def comment_targets [] end
def copy(**params)
def copy(**params) NilNode.new( params.fetch(:location) { location }, ) end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { location: location } end
def initialize(location)
Experimental RBS support (using type sampling data from the type_fusion project).
def initialize: (YARP::Location location) -> void
This signature was generated using 1 sample from 1 application.
def initialize(location) @location = location end
def inspect(inspector = NodeInspector.new)
def inspect(inspector = NodeInspector.new) inspector << inspector.header(self) inspector.to_str end