Icr::Highlighter
Constants
KEYWORDS = Set {"new", :abstract, :alias, :as, :"as?", :asm, :begin, :break, :case, :class, :def, :do, :else, :elsif, :end, :ensure, :enum, :extend, :for, :fun, :if, :in, :include, :instance_sizeof, :"is_a?", :lib, :macro, :module, :next, :"nil?", :of, :out, :pointerof, :private, :protected, :require, :rescue, :"responds_to?", :return, :select, :sizeof, :struct, :super, :then, :type, :typeof, :undef, :union, :uninitialized, :unless, :until, :when, :while, :with, :yield}
OPERATORS = Set {:+, :-, :*, :/, :"=", :==, :<, :<=, :>, :>=, :!, :!=, :=~, :!~, :&, :|, :^, :~, :**, :>>, :<<, :%, :[], :[]?, :[]=, :<=>, :===}
Constructors
Instance methods
highlight(code)
Sourcehighlight_stack
Source