lib/sfrp/mono/node.rb
def gen_evaluate_stmt(set, stmts)
        arg_exps = @node_refs.map do |node_ref|
          n = set.node(node_ref.node_str)
          node_ref.last ? n.low_node_ref_last_str : n.low_node_ref_current_str
        end
        call_exp = set.func(@eval_func_str).low_call_exp(arg_exps)
        stmts << L.stmt("#{low_node_ref_current_str} = #{call_exp}")
      end
# Generate ststement to evaluate this node.
Generate ststement to evaluate this node.
Generate ststement to evaluate this node .
def gen_evaluate_stmt(set, stmts)
        arg_exps = @node_refs.map do |node_ref|
          n = set.node(node_ref.node_str)
          node_ref.last ? n.low_node_ref_last_str : n.low_node_ref_current_str
        end
        call_exp = set.func(@eval_func_str).low_call_exp(arg_exps)
        stmts << L.stmt("#{low_node_ref_current_str} = #{call_exp}")
      end
def gen_evaluate_stmt ( set , stmts ) arg_exps = @node_refs . map do | node_ref | n = set . node ( node_ref . node_str ) node_ref . last ? n . low_node_ref_last_str : n . low_node_ref_current_str end call_exp = set . func ( @eval_func_str ) . low_call_exp ( arg_exps ) stmts << L . stmt ( "#{low_node_ref_current_str} = #{call_exp}" ) end
Generate ststement to evaluate this node.
Generate ststement to evaluate this node .
set
stmts