Example #1
0
 public void RenderText_Label(ILTextCanvas canvas)
 {
     canvas.AppendToLine(name);
 }
Example #2
0
 static public void RenderText_StatementEX(this ILStatement item, ILTextCanvas canvas)
 {
     item.IfNotNull(i => i.RenderText_Statement(canvas), () => canvas.AppendToLine("?????;"));
 }
Example #3
0
 public void Write(ILTextCanvas text_canvas)
 {
     Write(new ILCanvas_ILTextCanvas(method, text_canvas));
 }
Example #4
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine("this");
 }
Example #5
0
 public ILCanvasLabel_ILTextCanvas(ILTextCanvas c)
 {
     id     = NEXT_LABEL_ID++;
     canvas = c;
 }
Example #6
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine(constant.ToStringEX());
 }
Example #7
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine("[");
     targets.RenderText_ValueEX(canvas, " + ");
     canvas.AppendToLine("]");
 }
Example #8
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     values.RenderText_ValueEX(canvas, " || ");
 }
Example #9
0
 static public void RenderText_ValueEX(this ILValue item, ILTextCanvas canvas)
 {
     item.IfNotNull(i => i.RenderText_Value(canvas), () => canvas.AppendToLine("?????"));
 }
Example #10
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine(local_name);
 }
Example #11
0
 public abstract void RenderText_Statement(ILTextCanvas canvas);
Example #12
0
 private ILValue GetILParameter(ILTextCanvas canvas)
 {
     return(GetILParameter(canvas.GetMethod()));
 }
Example #13
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine("typeof(" + constant.ToStringEX() + ")");
 }
Example #14
0
 public abstract void RenderText_Value(ILTextCanvas canvas);
Example #15
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine("<Literal " + GetValueType() + ">");
 }
Example #16
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine("default(" + value_type.Name + ")");
 }
Example #17
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine(value.ToString());
 }
Example #18
0
        public override void RenderText_Statement(ILTextCanvas canvas)
        {
            canvas.AppendNewline();

            canvas.AppendToLine("nop;");
        }
Example #19
0
 public override void RenderText_Value(ILTextCanvas canvas)
 {
     canvas.AppendToLine(constant.StyleAsDoubleQuoteLiteral());
 }
Example #20
0
 public override void RenderText_Statement(ILTextCanvas canvas)
 {
     statements.Process(s => s.RenderText_StatementEX(canvas));
 }