Sha256: d7dfe8c865b8f0092956ba3546117b5b47cacf5989abab594a324341efd4d30e

Contents?: true

Size: 315 Bytes

Versions: 8

Compression:

Stored size: 315 Bytes

Contents

module Gisele
  module Language
    module Syntax
      module EventSet
        include Node

        def _to_ast
          events = (captures[:event] || []).map{|e| e.value}
          [:event_set] + events
        end

      end # module EventSet
    end # module Syntax
  end # module Language
end # module Gisele

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
gisele-language-0.6.0 lib/gisele/language/syntax/event_set.rb
gisele-language-0.5.1 lib/gisele/language/syntax/event_set.rb
gisele-language-0.5.0 lib/gisele/language/syntax/event_set.rb
gisele-0.5.0 lib/gisele/language/syntax/event_set.rb
gisele-0.4.0 lib/gisele/language/syntax/event_set.rb
gisele-0.3.0 lib/gisele/language/syntax/event_set.rb
gisele-0.2.0 lib/gisele/language/syntax/event_set.rb
gisele-0.1.0 lib/gisele/language/syntax/event_set.rb