# encoding: utf-8 # frozen_string_literal: true module Carbon module Compiler module Node # The root node. This is the topmost level node, and includes # all declarations, definitions, and directives. class Name < Base # The value of the name. This is a string representation of the # name. # # @return [::String] def value @children[0].value end # Fancy inspection. # # @return [::String] def inspect "#(Name #{value})" end end end end end