class Prism::Translation::Parser::Compiler

def visit_constant_path_node(node)

^^^^^^^^
Foo::Bar
def visit_constant_path_node(node)
  if node.parent.nil?
    builder.const_global(
      token(node.delimiter_loc),
      [node.child.name, srange(node.child.location)]
    )
  else
    builder.const_fetch(
      visit(node.parent),
      token(node.delimiter_loc),
      [node.child.name, srange(node.child.location)]
    )
  end
end