Sha256: 3bc58907f126ef0b5ceed07b8563f7b6a1c5dcfbd2d9516a355556df0b87e1f1

Contents?: true

Size: 376 Bytes

Versions: 8

Compression:

Stored size: 376 Bytes

Contents

module Gisele
  module Language
    module Syntax
      module ElsifClause
        include Node

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

      end # module ElsifClause
    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/elsif_clause.rb
gisele-language-0.5.1 lib/gisele/language/syntax/elsif_clause.rb
gisele-language-0.5.0 lib/gisele/language/syntax/elsif_clause.rb
gisele-0.5.0 lib/gisele/language/syntax/elsif_clause.rb
gisele-0.4.0 lib/gisele/language/syntax/elsif_clause.rb
gisele-0.3.0 lib/gisele/language/syntax/elsif_clause.rb
gisele-0.2.0 lib/gisele/language/syntax/elsif_clause.rb
gisele-0.1.0 lib/gisele/language/syntax/elsif_clause.rb