class Sorbet::Private::GemGeneratorTracepoint::Tracer

def self.add_to_context(item)

def self.add_to_context(item)
  # The stack can be empty because we start the :c_return TracePoint inside a 'require' call.
  # In this case, it's okay to simply add something to the stack; it will be popped off when
  # the :c_return is traced.
  @context_stack << [] if @context_stack.empty?
  @context_stack.last << item
end