Sha256: fa89d5a75f8bbe410b00fc18ee4be7904bf650bea23f96740d68a42d551a170d
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
module Gisele module Language module Syntax module TaskDef include Node def _to_ast name = captures[:task_name].first.strip defs = captures[:some_def].map{|x| x.to_ast} ref = captures[:explicit_statement].map{|x| x.to_ast}.first ref = [:nop] unless ref [:task_def, name] + defs + [ref] end end # module TaskDef end # module Syntax end # module Language end # module Gisele
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gisele-0.3.0 | lib/gisele/language/syntax/task_def.rb |