class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler
def initialize(compiler, sequence:, var:)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (RuboCop::AST::NodePattern::Compiler compiler, sequence: RuboCop::AST::NodePattern::Node::Sequence, var: String) -> void
This signature was generated using 4 samples from 1 application.
will be used for the different terms of the sequence.
Calls `compile_sequence`; the actual `compile` method
def initialize(compiler, sequence:, var:) @seq = sequence # The node to be compiled @seq_var = var # Holds the name of the variable holding the AST::Node we are matching super(compiler) end