Sha256: 47c8e051244baa0a9bd5ca73f7c07419f169bdf28c089985a80328c050dfc03f

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

module Gisele
  module Language
    module Syntax
      module WhenClause
        include Node

        def _to_ast
          cond = captures[:bool_expr].first.to_ast
          dost = captures[:process_statement].first.to_ast
          [:when_clause, cond, dost]
        end

      end # module WhenClause
    end # module Syntax
  end # module Language
end # module Gisele

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
gisele-language-0.6.0 lib/gisele/language/syntax/when_clause.rb
gisele-language-0.5.1 lib/gisele/language/syntax/when_clause.rb
gisele-language-0.5.0 lib/gisele/language/syntax/when_clause.rb
gisele-0.5.0 lib/gisele/language/syntax/when_clause.rb