class SyntaxTree::Parser
def on_aref_field(collection, index)
Experimental RBS support (using type sampling data from the type_fusion project).
def on_aref_field: (SyntaxTree::VarRef collection, SyntaxTree::Args index) -> untyped
This signature was generated using 2 samples from 1 application.
(nil | Args) index
untyped collection,
on_aref_field: (
:call-seq:
def on_aref_field(collection, index) consume_token(LBracket) rbracket = consume_token(RBracket) ARefField.new( collection: collection, index: index, location: collection.location.to(rbracket.location) ) end