public override Statement CloneStatementOnly() { BlockStatement clonnedBody = Body != null ? Body.CloneStatementOnly() as BlockStatement : null; DefaultCase result = new DefaultCase(clonnedBody); CopyParentAndLabel(result); return result; }
public override Statement CloneStatementOnly() { BlockStatement clonnedBody = Body != null?Body.CloneStatementOnly() as BlockStatement : null; DefaultCase result = new DefaultCase(clonnedBody); CopyParentAndLabel(result); return(result); }
public override Statement CloneStatementOnly() { if (this.get_Body() != null) { stackVariable5 = this.get_Body().CloneStatementOnly() as BlockStatement; } else { stackVariable5 = null; } V_0 = new DefaultCase(stackVariable5); this.CopyParentAndLabel(V_0); return(V_0); }
public override void VisitDefaultCase(DefaultCase node) { WriteKeyword(KeyWordWriter.Default); WriteSpace(); WriteKeyword(KeyWordWriter.Else); WriteLine(); Visit(node.Body); }
public override void VisitDefaultCase(DefaultCase node) { WriteKeyword(KeyWordWriter.Default); WriteToken(":"); WriteLine(); Visit(node.Body); }
public virtual void VisitDefaultCase(DefaultCase node) { Visit(node.Body); }