public Statement DecompileCase() { PopByte(); var offs = ReadUInt16(); // MemOff Statement statement = null; if (offs == (UInt16)0xFFFF) { statement = new DefaultStatement(null, null); } else { var expr = DecompileExpression(); if (expr == null) return null; //ERROR ? statement = new CaseStatement(expr, null, null); } StatementLocations.Add(StartPositions.Pop(), statement); return statement; }
public bool VisitNode(DefaultStatement node) { throw new NotImplementedException(); }
public bool VisitNode(DefaultStatement node) { // default: NestingLevel--; // de-indent this line only Write("default:"); NestingLevel++; return true; }