public override void EnterForNextStmt([NotNull] ForNextStmtContext context) { StepStmtContext stepStatement = context.stepStmt(); if (stepStatement == null) { _contexts.Add(new QualifiedContext <ParserRuleContext>(CurrentModuleName, context)); } }
public override void EnterForNextStmt([NotNull] ForNextStmtContext context) { StepStmtContext stepStatement = context.stepStmt(); if (stepStatement == null) { return; } string stepText = stepStatement.expression().GetText(); if (stepText == "1") { _contexts.Add(new QualifiedContext <ParserRuleContext>(CurrentModuleName, stepStatement)); } }