class RougeLines::Lexers::Jinja
Public Class Methods
keywords()
click to toggle source
# File lib/rouge-lines/lexers/jinja.rb, line 14 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-lines/lexers/jinja.rb, line 28 def self.pseudo_keywords @@pseudo_keywords ||= %w(true false none True False None) end
tests()
click to toggle source
# File lib/rouge-lines/lexers/jinja.rb, line 22 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-lines/lexers/jinja.rb, line 32 def self.word_operators @@word_operators ||= %w(is in and or not) end