Exemplo n.º 1
0
 public static void IfTrueReturnNull(this CodeWriter writer, String condition) => writer.LineOfCode($"if ({condition}) return null;");
Exemplo n.º 2
0
 public static void VarAssign(this CodeWriter writer, String left, String right) => writer.LineOfCode($"var {left} = {right};");
Exemplo n.º 3
0
 public static void IfNullReturnNull(this CodeWriter writer, String operand) => writer.LineOfCode($"if ({operand} == null) return null;");
Exemplo n.º 4
0
 public _IndentationScope(CodeWriter gen)
 {
     this.writer = gen;
     this.writer.__INDENTATION_LEVEL++;
 }