class Unparser::Emitter::Const

Emitter for constant access

Private Instance Methods

dispatch() click to toggle source
# File lib/unparser/emitter/variable.rb, line 28
def dispatch
  emit_scope
  write(name.to_s)
end
emit_scope() click to toggle source
# File lib/unparser/emitter/variable.rb, line 33
def emit_scope
  return unless scope

  visit(scope)
  write('::') unless n_cbase?(scope)
end