public virtual void visit(ICaseVariantNode value)
 {
 }
예제 #2
0
 //перевод селекторов case
 public void ConvertCaseVariantNode(ICaseVariantNode value, Label end_label, System.Collections.Generic.Dictionary<IConstantNode, Label> dict)
 {
     if (save_debug_info)
         MarkSequencePoint(value.statement_to_execute.Location);
     for (int i = 0; i < value.elements.Length; i++)
         il.MarkLabel(dict[value.elements[i]]);
     ConvertStatement(value.statement_to_execute);
     il.Emit(OpCodes.Br, end_label);
 }
예제 #3
0
        public virtual void visit(ICaseVariantNode value)
        {

        }
예제 #4
0
 public void visit(ICaseVariantNode value)
 {
     string s = value.GetType().Name + ".";
     prepare_base_node_collection(value.elements, s + "elements", "elements", value.elements.Length);
     prepare_base_node_collection(value.ranges, s + "ranges", "ranges", value.ranges.Length);
     prepare_node(value.statement_to_execute, s + "statement_to_execute");            
 }
예제 #5
0
 public void visit(ICaseVariantNode value)
 {
     throw new System.NotSupportedException(value.GetType().ToString());
 }