public override object VisitForStatement([NotNull] TinyScriptParser.ForStatementContext context)
 {
     for (VisitCommonExpression(context.commonExpression());
          (bool)VisitExpression(context.expression());
          VisitAssignAbleStatement(context.assignAbleStatement()))
     {
         VisitBlockStatement(context.blockStatement());
     }
     return(null);
 }
        public override object VisitForStatement([NotNull] TinyScriptParser.ForStatementContext context)
        {
            VisitCommonExpression(context.commonExpression());
            var l1 = _builder.DefineLabel();

            _builder.MarkLabel(l1);
            AssertIsBool(context, VisitExpression(context.expression()));
            var l2 = _builder.DefineLabel();

            _builder.BrFalse(l2);
            VisitBlockStatement(context.blockStatement());
            VisitAssignAbleStatement(context.assignAbleStatement());
            _builder.Br(l1);
            _builder.MarkLabel(l2);
            _builder.Nop();
            return(null);
        }