Sha256: 5349d297e20105915c095215dcbcec8cc6d7a3d220e0f18cb8a52c72c2afa1b9

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

module Qlang
  module Lexer
    class FuncLexer < Base
      rule(/\w\(\w( ?, ?\w)*\)/) { :FDEF }
      rule(/\=/) { :EQL }

      rule(/[ \t\f]/)

      rule(/\r\n/) { :NLIN }
      rule(/[\w\(].*/) { :FOML }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qlang-0.0.14142135 lib/qlang/lexer/func_lexer.rb
qlang-0.0.1414213 lib/qlang/lexer/func_lexer.rb
qlang-0.0.141421 lib/qlang/lexer/func_lexer.rb