Sha256: c8f7ac770baf7a3ce0dbac0187b3bfb8fe0a10de5c9208f465a37c21624b1733
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
module Qlang module Lexer class WrapLexer < Base rule(/[fgh]\(\w( ?, ?\w)*\) ?= ?[^\r\n]+/) { :FUNC } rule(/[fgh]\( ?\d( *, *\d)* *\)/) { :EFUNC } rule(/S *\(.+\)\[.+\]/) { :ITGL } rule(/\(/) { :LPRN } rule(/\)/) { :RPRN } rule(/\{/) { :LBRC } rule(/\}/) { :RBRC } rule(/[ \t\f]/) rule(/(\r|\n)+/) { :NLIN } rule(/[^\(\)\{\}(\n\n)]+/) { :CONT } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qlang-0.0.141421 | lib/qlang/lexer/wrap_lexer.rb |
qlang-0.0.14142 | lib/qlang/lexer/wrap_lexer.rb |
qlang-0.0.1414 | lib/qlang/lexer/wrap_lexer.rb |