Sha256: 5b40b49df8c2c6fb92230f5b935ead2c55d142664a68dcb56cf7268300c5e7e6
Contents?: true
Size: 412 Bytes
Versions: 8
Compression:
Stored size: 412 Bytes
Contents
require 'qlang/lexer/tokens' module Qlang module Parser module FuncParser include Base include Lexer::Tokens def execute(els) def_func, formula = els[0], els[1] def_func =~ /(#{USER_FUNC})#{LPRN}#{ANYSP}(#{VARS_BY_CMA})#{ANYSP}#{RPRN}/ FuncApi.execute($1, $2.split(' *,'), FormulaParser.execute(formula)) end module_function :execute end end end
Version data entries
8 entries across 8 versions & 2 rubygems