Sha256: e8efc8d8110080537a593fcf6e8dacfcce2d68073c0bab507ef89de50c2dc115

Contents?: true

Size: 577 Bytes

Versions: 29

Compression:

Stored size: 577 Bytes

Contents

require 'glimmer/dsl/expression'
require 'glimmer/dsl/parent_expression'

module Glimmer
  module DSL
    module Opal
      class ShapeExpression < Expression
        include ParentExpression
        
        INCLUDED_KEYWORDS = %w[rectangle polygon]
  
        def can_interpret?(parent, keyword, *args, &block)
          INCLUDED_KEYWORDS.include?(keyword)
        end

        def interpret(parent, keyword, *args, &block)
          # TODO
        end
        
        def add_content(parent, keyword, *args, &block)
          # TODO
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.27.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.26.3 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.26.2 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.26.1 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.26.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.25.4 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.25.3 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.25.2 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.25.1 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.25.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.24.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.23.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.22.1 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.22.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.21.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.20.1 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.20.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.19.1 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.19.0 lib/glimmer/dsl/opal/shape_expression.rb
glimmer-dsl-opal-0.18.0 lib/glimmer/dsl/opal/shape_expression.rb