Sha256: 07b736a375ae23c6c0d8f8a5af1b18fac77024ef17e81066c48c8644e33b0ecd

Contents?: true

Size: 518 Bytes

Versions: 29

Compression:

Stored size: 518 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 Gloo
  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-3.5.0 lib/gloo/core/literal.rb
gloo-3.4.1 lib/gloo/core/literal.rb
gloo-3.4.0 lib/gloo/core/literal.rb
gloo-3.3.0 lib/gloo/core/literal.rb
gloo-3.2.0 lib/gloo/core/literal.rb
gloo-3.1.1 lib/gloo/core/literal.rb
gloo-3.1.0 lib/gloo/core/literal.rb
gloo-3.0.1 lib/gloo/core/literal.rb
gloo-3.0.0 lib/gloo/core/literal.rb
gloo-2.5.0 lib/gloo/core/literal.rb
gloo-2.4.3 lib/gloo/core/literal.rb
gloo-2.4.2 lib/gloo/core/literal.rb
gloo-2.4.1 lib/gloo/core/literal.rb
gloo-2.4.0 lib/gloo/core/literal.rb
gloo-2.3.1 lib/gloo/core/literal.rb
gloo-2.2.0 lib/gloo/core/literal.rb
gloo-2.1.0 lib/gloo/core/literal.rb
gloo-2.0.2 lib/gloo/core/literal.rb
gloo-2.0.1 lib/gloo/core/literal.rb
gloo-2.0.0 lib/gloo/core/literal.rb