class SyntaxTree::Parser

def on_var_ref(value)

Experimental RBS support (using type sampling data from the type_fusion project).

type SyntaxTree__Parser_on_var_ref_value = SyntaxTree::Kw | SyntaxTree::Const | SyntaxTree::Ident | SyntaxTree::IVar

def on_var_ref: (SyntaxTree__Parser_on_var_ref_value value) -> untyped

This signature was generated using 45 samples from 1 application.

on_var_ref: ((Const | CVar | GVar | Ident | IVar | Kw) value) -> VarRef
:call-seq:
def on_var_ref(value)
  VarRef.new(value: value, location: value.location)
end