Sha256: b9784d1db51d967bf1d050f241ea8ef82059180d21a0376ad9f16b189bcf689a

Contents?: true

Size: 883 Bytes

Versions: 13

Compression:

Stored size: 883 Bytes

Contents

require "liquidscript/generator/javascript/literals"
require "liquidscript/generator/javascript/metas"
require "liquidscript/generator/javascript/objects"

module Liquidscript
  module Generator

    # A list of all of the possible codes for javascript:
    #
    # - `:set`         ✔
    # - `:get`         ✔
    # - `:exec`        ✔
    # - `:expression`  ✔
    # - `:class`       ✔
    # - `:module`      ✔
    # - `:property`    ✔
    # - `:call`        ✔
    # - `:number`      ✔
    # - `:sstring`     ✔
    # - `:dstring`     ✔
    # - `:object`      ✔
    # - `:array`       ✔
    # - `:function`    ✔
    #
    # Each one of these must have a generate function.
    class Javascript < Base
      include Literals
      include Metas
      include Objects

      def initialize(top)
        @modules = []
        super
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
liquidscript-0.4.1 lib/liquidscript/generator/javascript.rb
liquidscript-0.4.0 lib/liquidscript/generator/javascript.rb
liquidscript-0.3.1 lib/liquidscript/generator/javascript.rb
liquidscript-0.3.0 lib/liquidscript/generator/javascript.rb
liquidscript-0.2.1 lib/liquidscript/generator/javascript.rb
liquidscript-0.2.0 lib/liquidscript/generator/javascript.rb
liquidscript-0.1.5 lib/liquidscript/generator/javascript.rb
liquidscript-0.1.4 lib/liquidscript/generator/javascript.rb
liquidscript-0.1.3 lib/liquidscript/generator/javascript.rb
liquidscript-0.1.2 lib/liquidscript/generator/javascript.rb
liquidscript-0.1.1 lib/liquidscript/generator/javascript.rb
liquidscript-0.1.0 lib/liquidscript/generator/javascript.rb
liquidscript-0.0.1 lib/liquidscript/generator/javascript.rb