class YARP::ParametersNode
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/yarp/node.rbs class YARP::ParametersNode < YARP::Node type YARP__ParametersNode_accept_return_value = Array[Array, ] | Array[Array, Array, ] | Array[Array, Array, NilClass, NilClass, NilClass] | Array[Array, Array, , Array, ] | Array[NilClass] def accept: (Analyzer::Visitor visitor) -> YARP__ParametersNode_accept_return_value type YARP__ParametersNode_child_nodes_return_value = Array[YARP::RequiredParameterNode] | Array[YARP::RestParameterNode] | Array[YARP::OptionalParameterNode] | Array[NilClass] def child_nodes: () -> YARP__ParametersNode_child_nodes_return_value def initialize: ((Array[YARP::RequiredParameterNode] | Array[]) requireds, (Array[] | Array[YARP::OptionalParameterNode]) optionals, Array[] posts, YARP::RestParameterNode? rest, (Array[] | Array[YARP::KeywordParameterNode]) keywords, YARP::KeywordRestParameterNode? keyword_rest, YARP::BlockParameterNode? block, YARP::Location location) -> void end
end
^^^^^^^
def a(b, c, d)
Represents the list of parameters on a method, block, or lambda definition.
def accept(visitor)
Experimental RBS support (using type sampling data from the type_fusion
project).
type YARP__ParametersNode_accept_return_value = Array[Array, ] | Array[Array, Array, ] | Array[Array, Array, NilClass, NilClass, NilClass] | Array[Array, Array, , Array, ] | Array[NilClass] type YARP__ParametersNode_accept_return_value = NilClass | NilClass | NilClass | Array | | NilClass | NilClass | NilClass | Array | | Array | | Array | | Array | | Array | | NilClass | NilClass | NilClass | Array | | Array | | Array | | NilClass | NilClass | NilClass | Array | | Array | Array | NilClass | NilClass | NilClass | NilClass | NilClass | NilClass | Array | Array | | NilClass | NilClass | NilClass | NilClass | Array | | Array | | Array | | Array | Array | Array | | Array | Array | | NilClass | NilClass | NilClass | NilClass | Array | | Array | | NilClass | NilClass | NilClass | NilClass | NilClass | Array | | Array | | NilClass | NilClass | Array | | Array | | Array | | Array | | NilClass | NilClass | NilClass | NilClass | Array | | NilClass | NilClass | Array | Array | | Array | Array | | Array | Array | | Array | Array | | Array | | NilClass | Array | Array | | Array | | NilClass | NilClass | NilClass | Array | | Array | Array | | NilClass | NilClass | NilClass def accept: (Analyzer::Visitor visitor) -> YARP__ParametersNode_accept_return_value
This signature was generated using 204 samples from 1 application.
def accept(visitor) visitor.visit_parameters_node(self) end
def child_nodes
Experimental RBS support (using type sampling data from the type_fusion
project).
type YARP__ParametersNode_child_nodes_return_value = Array[YARP::RequiredParameterNode] | Array[YARP::RestParameterNode] | Array[YARP::OptionalParameterNode] | Array[NilClass] type YARP__ParametersNode_child_nodes_return_value = NilClass | YARP::KeywordRestParameterNode | NilClass | NilClass | NilClass | NilClass | NilClass | NilClass | YARP::RequiredParameterNode | YARP::RequiredParameterNode | NilClass | NilClass | NilClass | YARP::OptionalParameterNode | NilClass | NilClass | NilClass | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | NilClass | NilClass | NilClass | YARP::OptionalParameterNode | YARP::OptionalParameterNode | YARP::OptionalParameterNode | NilClass | NilClass | NilClass | YARP::RestParameterNode | NilClass | NilClass | NilClass | NilClass | YARP::BlockParameterNode | YARP::RequiredParameterNode | NilClass | NilClass | NilClass | NilClass | YARP::KeywordParameterNode | NilClass | YARP::BlockParameterNode | YARP::KeywordRestParameterNode | NilClass | YARP::RequiredParameterNode | YARP::OptionalParameterNode | NilClass | NilClass | NilClass | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::OptionalParameterNode | NilClass | NilClass | NilClass | YARP::OptionalParameterNode | YARP::OptionalParameterNode | NilClass | NilClass | NilClass | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | NilClass | NilClass | NilClass | YARP::RequiredDestructuredParameterNode | NilClass | NilClass | NilClass | NilClass | YARP::BlockParameterNode | YARP::RestParameterNode | NilClass | YARP::BlockParameterNode def child_nodes: () -> YARP__ParametersNode_child_nodes_return_value
This signature was generated using 207 samples from 1 application.
def child_nodes [*requireds, *optionals, *posts, rest, *keywords, keyword_rest, block] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { requireds: requireds, optionals: optionals, posts: posts, rest: rest, keywords: keywords, keyword_rest: keyword_rest, block: block, location: location } end
def initialize(requireds, optionals, posts, rest, keywords, keyword_rest, block, location)
Experimental RBS support (using type sampling data from the type_fusion
project).
type YARP__ParametersNode_initialize_requireds = | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode | YARP::RequiredParameterNode def initialize: (YARP__ParametersNode_initialize_requireds requireds, ( | YARP::OptionalParameterNode | YARP::OptionalParameterNode | YARP::OptionalParameterNode) optionals, posts, YARP::RestParameterNode? rest, ( | YARP::KeywordParameterNode) keywords, YARP::KeywordRestParameterNode? keyword_rest, YARP::BlockParameterNode? block, YARP::Location location) -> void
This signature was generated using 204 samples from 1 application.
def initialize(requireds, optionals, posts, rest, keywords, keyword_rest, block, location) @requireds = requireds @optionals = optionals @posts = posts @rest = rest @keywords = keywords @keyword_rest = keyword_rest @block = block @location = location end