Sha256: 38ff2968a6fcdbe5d5383eecd845467a78e7616091676d2bdbf4ab1bfcb8fa43

Contents?: true

Size: 503 Bytes

Versions: 2

Compression:

Stored size: 503 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, :directive, Value('doctype'), String]

    HTMLAttr <<
      [:slim, :attr, String, Bool, String]

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slim-0.9.4 lib/slim/grammar.rb
slim-0.9.3 lib/slim/grammar.rb