Sha256: 37c47337e0ef19619a89bd3e73f409e11c1920f3b6ba395e86a6b4a9b9d3faaa
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
module Gisele module Language module Syntax module FluentDef include Node def _to_ast name = captures[:variable_name].first.strip init, term = captures[:event_set].map{|x| x.to_ast} initval = captures[:initially_def].first initval = (initval && !initval.empty?) ? initval.value : nil [:fluent, name, init, term, initval] end end # module FluentDef end # module Syntax end # module Language end # module Gisele
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gisele-0.3.0 | lib/gisele/language/syntax/fluent_def.rb |
gisele-0.2.0 | lib/gisele/language/syntax/fluent_def.rb |
gisele-0.1.0 | lib/gisele/language/syntax/fluent_def.rb |