Sha256: e84756b2379f41a634f773acf69463122db2dcae69262bcd18c919c0b1ae472d

Contents?: true

Size: 654 Bytes

Versions: 94

Compression:

Stored size: 654 Bytes

Contents

module Slim
  # Slim expression grammar
  # @api private
  module Grammar
    extend Temple::Grammar

    Expression <<
      [:slim, :control, String, Expression]           |
      [:slim, :condcomment, String, Expression]       |
      [:slim, :output, Bool, String, Expression]      |
      [:slim, :interpolate, String]                   |
      [:slim, :embedded, String, Expression]          |
      [:slim, :tag, String, SlimAttrs, 'Expression?']

    SlimAttrs <<
      [:slim, :attrs, 'SlimAttr*']

    SlimAttr <<
      HTMLAttr                             |
      [:slim, :attr, String, Bool, String] |
      [:slim, :splat, String]
  end
end

Version data entries

94 entries across 49 versions & 2 rubygems

Version Path
classiccms-0.6.5 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.6.5 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.6.4 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.6.4 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.6.3 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.6.3 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.6.2 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.6.2 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.6.1 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.6.1 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.6.0 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.6.0 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.5.17 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.5.17 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.5.16 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.5.16 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.5.15 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.5.15 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb
classiccms-0.5.14 vendor/bundle/gems/slim-1.2.1/lib/slim/grammar.rb
classiccms-0.5.14 vendor/bundle/gems/slim-1.2.0/lib/slim/grammar.rb