lib/rouge/lexers/wollok.rb in rouge_ecl-0.0.1 vs lib/rouge/lexers/wollok.rb in rouge_ecl-1.0.0
- old
+ new
@@ -6,9 +6,13 @@
title 'Wollok'
desc 'Wollok lang'
tag 'wollok'
filenames *%w(*.wlk *.wtest *.wpgm)
+ def self.analyze_text(_text)
+ 0.3
+ end
+
keywords = %w(new super return if else var const override constructor)
entity_name = /[a-zA-Z][a-zA-Z0-9]*/
variable_naming = /_?#{entity_name}/