class YARP::ProgramNode
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/yarp/node.rbs class YARP::ProgramNode < YARP::Node def accept: (Analyzer::Visitor visitor) -> untyped def child_nodes: () -> untyped def initialize: (Array[] locals, YARP::StatementsNode statements, YARP::Location location) -> void end
The top level node of any parse tree.
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 12 samples from 1 application.
def accept(visitor) visitor.visit_program_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 2 samples from 1 application.
def child_nodes [statements] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { locals: locals, statements: statements, location: location } end
def initialize(locals, statements, location)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: ( locals, YARP::StatementsNode statements, YARP::Location location) -> void
This signature was generated using 2 samples from 1 application.
def initialize(locals, statements, location) @locals = locals @statements = statements @location = location end