Sha256: 62130305ae5e418f682d47551b86134c54cba8a397ebc179d640ddc180c52d6b

Contents?: true

Size: 522 Bytes

Versions: 29

Compression:

Stored size: 522 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2019 Eric Crane.  All rights reserved.
#
# A Literal value.
# Base class for all literal values.
#

module GlooLang
  module Core
    class Literal

      attr_reader :value

      #
      # Create the expression from a list of tokens.
      #
      def initialize( value )
        set_value( value )
      end

      #
      # Set the literal value.
      #
      def set_value( value )
        @value = value
      end

    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
gloo-lang-1.4.3 lib/gloo_lang/core/literal.rb
gloo-lang-1.4.2 lib/gloo_lang/core/literal.rb
gloo-lang-1.4.1 lib/gloo_lang/core/literal.rb
gloo-lang-1.4.0 lib/gloo_lang/core/literal.rb
gloo-lang-1.3.2 lib/gloo_lang/core/literal.rb
gloo-lang-1.3.1 lib/gloo_lang/core/literal.rb
gloo-lang-1.3.0 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.8 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.7 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.6 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.5 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.4 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.3 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.2 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.1 lib/gloo_lang/core/literal.rb
gloo-lang-1.2.0 lib/gloo_lang/core/literal.rb
gloo-lang-1.1.0 lib/gloo_lang/core/literal.rb
gloo-lang-1.0.2 lib/gloo_lang/core/literal.rb
gloo-lang-1.0.1 lib/gloo_lang/core/literal.rb
gloo-lang-1.0.0 lib/gloo_lang/core/literal.rb