public virtual void EndIfStatementWithBody(TypeCobol.Compiler.CodeElements.IfStatementEnd end) { Exit(); // Exit ELSE (if any) or THEN AttachEndIfExists(end); // DO NOT Exit() IF node because this will be done in ExitStatement Exit();//JCM exit any way ??? }
public override void EnterIfStatementEnd(CodeElementsParser.IfStatementEndContext context) { Context = context; CodeElement = new IfStatementEnd(); }