Sha256: 533b8edf7cea0abd4e63745934045da6a9eea36c92371ede5e1f6da714fff737

Contents?: true

Size: 225 Bytes

Versions: 5

Compression:

Stored size: 225 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.*/) { :OTHER }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qlang-0.0.14142 lib/qlang/lexer/func_lexer.rb
qlang-0.0.1414 lib/qlang/lexer/func_lexer.rb
qlang-0.0.141 lib/qlang/lexer/func_lexer.rb
qlang-0.0.14 lib/qlang/lexer/func_lexer.rb
qlang-0.0.1 lib/qlang/lexer/func_lexer.rb