/usr/lib/ruby/vendor_ruby/slim/grammar.rb is in ruby-slim 2.0.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | module Slim
# Slim expression grammar
# @api private
module Grammar
extend Temple::Grammar
Expression <<
[:slim, :control, String, Expression] |
[:slim, :output, Bool, String, Expression] |
[:slim, :interpolate, String] |
[:slim, :embedded, String, Expression] |
[:slim, :text, Expression] |
[:slim, :attrvalue, Bool, String]
HTMLAttr <<
[:slim, :splat, String]
end
end
|