FIXME: WARNING: Ball of mud follows.
969111
function walkAst(ast) {
    var result, children, params, name;

    if (!ast) {
        return new Result();
    }

    var type = ast[0].name || ast[0];
    var line = (ast[0].start || { line: 0 }).line;
    var endLine = (ast[0].end || { line: 0 }).line;

    switch (type) {
        case 'toplevel':
            children = ast[1];
            result = recurseAll(children);
            result.name = '<toplevel>';
            break;

        case 'block':
            children = ast[1];
            result = recurseAll(children);
            break;

        case 'defun':
        case 'function':
            name = ast[1] || ('anon@' + line);
            params = ast[2];
            children = ast[3];

            result = recurseAll(children);
            result.name = name;
            result.ecc += 1;
            result.arity = params.length;
            break;

        case 'if':
        case 'conditional':
            children = [ ast[2], ast[3] ];
            result = recurseAll(children);
            result.ecc += 1;
            break;

        case 'for':
            result = walkAst(ast[4]);
            result.ecc += 1;
            break;

        case 'while':
            result = walkAst(ast[2]);
            result.ecc += 1;
            break;

        case 'stat':
            result = walkAst(ast[1]);
            break;

        case 'call':
            result = recurseAll(ast[2]);
            break;

        case 'try':
            children = ast[1].concat(ast[2][1]);
            result = recurseAll(children);
            result.ecc += 1;
            break;

        case 'var':
            children = ast[1].map(function (t) { return t[1]; });
            result = recurseAll(children);
            break;

        case 'assign':
            children = [ ast[2], ast[3] ];
            result = recurseAll(children);
            break;

        case 'return':
            if (!ast[1]) {
                result = new Result();
            } else {
                result = walkAst(ast[1]);
            }
            break;

        case 'switch':
            children = ast[1].map(function (t) { return t[1]; });
            result = recurseAll(children);
            result.ecc += ast[2].length;
            break;

        default:
            result = new Result();
            break;
    }

    var comments = [];
    if (ast[0].start && ast[0].start.comments_before) {
        comments = comments.concat(ast[0].start.comments_before);
    }
    if (ast[0].end && ast[0].end.comments_before) {
        comments = comments.concat(ast[0].end.comments_before);
    }

    comments.forEach(function (comment) {
        var lines = comment.value.split('\n');
        for (var i = 0; i < lines.length; i++) {
            result.commentLines[comment.line + i] = true;
        }
    });

    result.codeLines[line] = true;
    result.codeLines[endLine] = true;

    return result;
}
1168353
public void addWarning(String message, int sourceStart, int sourceEnd) {
		ast.addProblem(ast.new ParseProblem(true, message, sourceStart, sourceEnd));
	}
1057883
function settleXthen (p, x, xthen) {
        try {
            // 2.3.3.3
            xthen.call(x, function (y) {
                // 2.3.3.3.3
                if (!x) return;
                x = null;

                // 2.3.3.3.1
                settleWithX(p, y);
            }, function (r) {
                // 2.3.3.3.3
                if (!x) return;
                x = null;

                // 2.3.3.3.2
                settlePromise(p, $rejected, r);
            });
        } catch (err) {
            // 2.3.3.3.4.1
            if (x) {
                // 2.3.3.3.4.2
                settlePromise(p, $rejected, err);
                x = null;
            }
        }
    }
751447
def warn(m)
      puts _word_wrap(m, '# ').yellow
      @targets.each { |_, t| t.warn(m) }
    end
567926
@Override
	public void subscribeFailed(int responseCode,
			XDMClientChildSbbLocalObject child, String notifier) {
		tracer.severe("Failed to subscribe, response = " + responseCode);
	}
835601
function warn( message )
{
  if ( message in warn.cache ) {
    return;
  }

  const prefix = chalk.hex('#CC4A8B')('WARNING:');

  console.warn(chalk`${prefix} ${message}`);
}
985397
def wait(predicate, interval=1, message=lambda: "Waiting..."):
    """"""
    ball, next_ball = u"|/-\\", "|"
    sys.stdout.write("    \033[K")
    sys.stdout.flush()
    while not predicate():
        time.sleep(1)
        next_ball = ball[(ball.index(next_ball) + 1) % len(ball)]
        sys.stdout.write("\r " + str(message()) + " " + next_ball + " \033[K")
        sys.stdout.flush()
    print("\r Done. \033[K")
    sys.stdout.flush()
87621
protected void pacedErrorLog(String message, Object arg1, Object arg2) {
    pacer.pacedCall(() -> LOGGER.error(message + " - Similar messages will be suppressed for 30 seconds", arg1, arg2), () -> LOGGER.debug(message, arg1, arg2));
  }
1260281
private void writeBadManifestEntry(PrintWriter writer, File f, BadFeature bf) {
        writer.write(f.getAbsolutePath()); // 0
        writer.write(FeatureDefinitionUtils.SPLIT_CHAR);
        writer.write(String.valueOf(bf.lastModified)); // 1
        writer.write(FeatureDefinitionUtils.SPLIT_CHAR);
        writer.write(String.valueOf(bf.length)); // 2
    }
461655
public void warning(String message, String sourceString,
                      int position, int startPosition, int endPosition,
                      Object info) {
    report(new AnnotationReport(Kind.WARNING, message, sourceString,
                                position, startPosition, endPosition, info));
  }
1265737
private void fixConstraints(IPattern p) {
        if (p instanceof FactPattern) {
            fixConstraints((FactPattern) p);
        } else if (p instanceof CompositeFactPattern) {
            fixConstraints((CompositeFactPattern) p);
        }
    }
1211681
def _callbackPlaceFillOrders(self, d):
        
        if isinstance(d, FilledOrder):
            self.onOrderMatched(d)
        elif isinstance(d, Order):
            self.onOrderPlaced(d)
        elif isinstance(d, UpdateCallOrder):
            self.onUpdateCallOrder(d)
        else:
            pass
848698
def warning(self, text):
		
		self.logger.warning("{}{}".format(self.message_prefix, text))
585384
function (powder) {
		var callback = function (err) {
			shooting--;
			if (err) {
				// Only emit error if a listener exists
				// This is mainly to prevent silent errors in promises
				if (machinegun.listenerCount('error')) machinegun.emit('error', err);
				if (opt.giveUpOnError) machinegun.giveUp(err);
			}
			trigger();
		};
		var primer = function () {
			var maybeThenable = powder(callback);
			if (maybeThenable && (typeof maybeThenable.then == 'function')) {
				maybeThenable.then(callback.bind(null, null), function (err) { callback(err || new Error()); });
			}
		};
		this.shoot = function () {
			shooting++;
			process.nextTick(primer);
		};
	}
48451
@Fix("*")
	public void fixSuppressWarnings(Issue issue, IssueResolutionAcceptor acceptor) {
		if (isIgnorable(issue.getCode())) {
			SuppressWarningsAddModification.accept(this, issue, acceptor);
		}
	}
1172378
function warn(message) {
    root.console && root.console.warn && root.console.warn('WARNING: ' + message);
  }
330608
function fixPattern(next) {
        var pattern = config.filename || 'tn.png';

        if (pattern.indexOf('.') === -1) {
          pattern += '.png';
        }

        if (config.timemarks.length > 1 && !pattern.match(/%(s|0*i)/)) {
          var ext = path.extname(pattern);
          pattern = path.join(path.dirname(pattern), path.basename(pattern, ext) + '_%i' + ext);
        }

        next(null, pattern);
      }