class SyntaxTree::Parser
def on_const_path_field(parent, constant)
on_const_path_field: (untyped parent, Const constant) ->
:call-seq:
def on_const_path_field(parent, constant) if constant.is_a?(Const) ConstPathField.new( parent: parent, constant: constant, location: parent.location.to(constant.location) ) else Field.new( parent: parent, operator: consume_operator(:"::"), name: constant, location: parent.location.to(constant.location) ) end end