Sha256: ed4ccb07c86320273e9d005c8ae3ca1869be14da69982b3bd015d9fa21eabc9c
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
module Gisele module Language module Syntax module TaskDef include Node def _to_ast name = captures[:task_name].first.strip sig = captures[:task_signature].map{|x| x.to_ast}.first || [:task_signature] ref = captures[:task_refinement].map{|x| x.to_ast}.first || [:task_refinement] [:task_def, name, sig, ref] end end # module TaskDef end # module Syntax end # module Language end # module Gisele
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gisele-0.2.0 | lib/gisele/language/syntax/task_def.rb |
gisele-0.1.0 | lib/gisele/language/syntax/task_def.rb |