Sha256: 870f6c21c9ce8d26e777a793e914ef4ad5146014cad9f6d814293eb5b539add6

Contents?: true

Size: 312 Bytes

Versions: 27

Compression:

Stored size: 312 Bytes

Contents

module Johnson
  module Nodes
    class For < Node
      alias :body :value
      attr_accessor :init, :cond, :update
      def initialize(line, column, init, cond, update, body)
        super(line, column, body)
        @init   = init
        @cond   = cond
        @update = update
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 5 rubygems

Version Path
smparkes-johnson-1.1.2.6 lib/johnson/nodes/for.rb
smparkes-johnson-1.1.2.5 lib/johnson/nodes/for.rb
smparkes-johnson-1.1.2.4 lib/johnson/nodes/for.rb
smparkes-johnson-1.1.2.3 lib/johnson/nodes/for.rb
johnson-1.1.1 lib/johnson/nodes/for.rb
johnson-1.1.2 lib/johnson/nodes/for.rb
johnson-1.1.0 lib/johnson/nodes/for.rb