Sha256: 4addfe4d71b8b8bb4a2d78b55824f5189cedef8e65c226506e3d6f33bb19d811

Contents?: true

Size: 221 Bytes

Versions: 5

Compression:

Stored size: 221 Bytes

Contents

module Haxor
  module Token
    class Pointer < Int64
      attr_accessor :data
      attr_reader :label

      def initialize(label)
        super(-1) # invalid pointer
        @label = label
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
haxor-0.5.0 lib/haxor/token/pointer.rb
haxor-0.4.0 lib/haxor/token/pointer.rb
haxor-0.3.0 lib/haxor/token/pointer.rb
haxor-0.2.0 lib/haxor/token/pointer.rb
haxor-0.1.0 lib/haxor/token/pointer.rb