module Qlang module Lexer class FuncLexer < Base rule(%r@#{FUNCCV}@) { :FDEF } rule(/\=/) { :EQL } rule(/[ \t\f]/) rule(/\r\n/) { :NLIN } rule(/[\w\(].*/) { :FOML } end end end