Sha256: f26cfa7c41ff1d910c1b0491c5dbd103aeac93263c25f76853c474a965f706d7
Contents?: true
Size: 499 Bytes
Versions: 8
Compression:
Stored size: 499 Bytes
Contents
module Gisele module Language module Syntax module IfSt include Node def _to_ast cond = captures[:bool_expr].first.to_ast dost = captures[:process_statement].first.to_ast elsifs = captures[:elsif_clause].map{|x| x.to_ast} els = captures[:else_clause].map{|x| x.to_ast} [:if_st, cond, dost] + elsifs + els end end # module IfSt end # module Syntax end # module Language end # module Gisele
Version data entries
8 entries across 8 versions & 2 rubygems