class Rouge::Lexers::Jinja

Public Class Methods

keywords() click to toggle source
# File lib/rouge/lexers/jinja.rb, line 15
def self.keywords
  @@keywords ||= %w(as context do else extends from ignore missing
                    import include reversed recursive scoped
                    autoescape endautoescape block endblock call endcall
                    filter endfilter for endfor if endif macro endmacro
                    set endset trans endtrans with endwith without)
end
pseudo_keywords() click to toggle source
# File lib/rouge/lexers/jinja.rb, line 29
def self.pseudo_keywords
  @@pseudo_keywords ||= %w(true false none True False None)
end
tests() click to toggle source
# File lib/rouge/lexers/jinja.rb, line 23
def self.tests
  @@tests ||= %w(callable defined divisibleby equalto escaped even iterable
                 lower mapping none number odd sameas sequence string
                 undefined upper)
end
word_operators() click to toggle source
# File lib/rouge/lexers/jinja.rb, line 33
def self.word_operators
  @@word_operators ||= %w(is in and or not)
end