Sha256: 5b56cbc7de3b11905f9c63b71f9f26670d0f0b572232851ed1ada0ad6eb82ee8

Contents?: true

Size: 677 Bytes

Versions: 16

Compression:

Stored size: 677 Bytes

Contents

require 'glimmer/dsl/xml/node_parent_expression'
require 'glimmer/dsl/xml/xml_expression'
require 'glimmer/dsl/static_expression'
require 'glimmer/dsl/top_level_expression'

module Glimmer
  module DSL
    module XML
      # This static html expression flips the DSL switch on for 
      # XML DSL in Glimmer
      class HtmlExpression < StaticExpression
        include TopLevelExpression
        include NodeParentExpression

        def interpret(parent, keyword, *args, &block)
          xml_expression.interpret(parent, keyword, *args, &block)
        end

        def xml_expression
          @xml_expression ||= XmlExpression.new
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
glimmer-dsl-xml-0.2.0 lib/glimmer/dsl/xml/html_expression.rb
glimmer-dsl-xml-0.1.0 lib/glimmer/dsl/xml/html_expression.rb
glimmer-dsl-css-0.1.0 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.8.2 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.8.1 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.8.0 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.8 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.7 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.6 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.5 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.4 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.3 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.2 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.1 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.7.0 lib/glimmer/dsl/xml/html_expression.rb
glimmer-0.6.0 lib/glimmer/dsl/xml/html_expression.rb