class JSON::TruffleRuby::Generator::State

def [](name)

Return the value returned by method +name+.
def [](name)
  if respond_to?(name)
    __send__(name)
  else
    instance_variable_get("@#{name}") if
      instance_variables.include?("@#{name}".to_sym) # avoid warning
  end
end