public string Visit(Loet node) { var st = ""; var labelOne = GenerateLabel(); var labelTwo = GenerateLabel(); st += VisitChildren(node); st += tab(2) + "bgt.un " + labelOne + "\n"; st += tab(2) + "ldc.i4.0\n"; st += tab(2) + "br " + labelTwo + "\n"; st += tab(1) + labelOne + ":\n"; st += tab(2) + "ldc.i4 42\n"; st += tab(1) + labelTwo + ":\n"; return(st); }
public void Visit(Loet node) { VisitChildren(node); }