class YARP::BlockArgumentNode
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/yarp/node.rbs class YARP::BlockArgumentNode < YARP::Node def accept: (Analyzer::Visitor visitor) -> untyped def child_nodes: () -> untyped def initialize: ((YARP::CallNode | YARP::SymbolNode) expression, YARP::Location operator_loc, YARP::Location location) -> void end
^^^^^^^^^^
bar(&args)
Represents block method arguments.
def accept(visitor)
Experimental RBS support (using type sampling data from the type_fusion
project).
def accept: (Analyzer::Visitor visitor) -> untyped
This signature was generated using 4 samples from 1 application.
def accept(visitor) visitor.visit_block_argument_node(self) end
def child_nodes
Experimental RBS support (using type sampling data from the type_fusion
project).
def child_nodes: () -> untyped
This signature was generated using 3 samples from 1 application.
def child_nodes [expression] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { expression: expression, operator_loc: operator_loc, location: location } end
def initialize(expression, operator_loc, location)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: ((YARP::CallNode | YARP::SymbolNode) expression, YARP::Location operator_loc, YARP::Location location) -> void
This signature was generated using 4 samples from 1 application.
def initialize(expression, operator_loc, location) @expression = expression @operator_loc = operator_loc @location = location end
def operator
def operator operator_loc.slice end