class SyntaxTree::Parser

def on_field(parent, operator, name)

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

def on_field: (SyntaxTree::VarRef parent, SyntaxTree::Period operator, SyntaxTree::Ident name) -> untyped

This signature was generated using 1 sample from 1 application.

) -> Field
(Const | Ident) name
(:"::" | Op | Period) operator
untyped parent,
on_field: (
:call-seq:
def on_field(parent, operator, name)
  Field.new(
    parent: parent,
    operator: operator,
    name: name,
    location: parent.location.to(name.location)
  )
end