Sha256: 22feaaf83ac33583f85c20fd3827df0622850e9341529217f650bb29701a9fd0
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
# 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carbon-compiler-0.2.0 | lib/carbon/compiler/node/name.rb |