Sha256: 01e157793ee75ccf43f4fab31a1f43708f793acdfde068827be023a96f0189f8

Contents?: true

Size: 373 Bytes

Versions: 28

Compression:

Stored size: 373 Bytes

Contents

module Liquidscript
  module Compiler
    class ICR < Base
      module Helpers

        def ref(literal)
          top.context.get(literal.value.intern)
        end

        def set(literal)
          top.context.set(literal.value.intern)
        end

        def code(type, *args)
          Liquidscript::ICR::Code.new type, *args
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
liquidscript-0.7.6 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.7.5 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.7.4 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.7.3 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.7.2 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.7.1 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.7.0 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.6.5 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.6.4 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.6.3 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.6.2 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.6.1 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.6.0 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.5.1 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.5.0 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.4.1 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.4.0 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.3.1 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.3.0 lib/liquidscript/compiler/icr/helpers.rb
liquidscript-0.2.1 lib/liquidscript/compiler/icr/helpers.rb