SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Avoid too many return statements within this function.
Open

        else if (value == "type") return cont(typename, expect("operator"), typeexpr, expect(";"));

Avoid too many return statements within this function.
Open

      return new Context(context.prev, new Var(varname, context.vars), false)

Avoid too many return statements within this function.
Open

        return cont(pushlex("stat"), maybelabel);

Avoid too many return statements within this function.
Open

      else { stream.skipToEnd(); return "error"; }

Avoid too many return statements within this function.
Open

        return cont(statement)

Avoid too many return statements within this function.
Open

    if (type == "(") return cont(pushlex(")"), maybeexpression, expect(")"), poplex, maybeop);

Avoid too many return statements within this function.
Open

      return null;
Severity: Major
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/sieve/sieve.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

    if (type == "{") return contCommasep(objprop, "}", null, maybeop);

Avoid too many return statements within this function.
Open

    if (type == "import") return cont(expression);

Avoid too many return statements within this function.
Open

        if (value == "enum") return cont(enumdef);

Avoid too many return statements within this function.
Open

        return ret("operator", "operator", stream.current());

Avoid too many return statements within this function.
Open

      return cont(expr);

Avoid too many return statements within this function.
Open

        return cont(pushlex("form"), expression, statement, poplex)

Avoid too many return statements within this function.
Open

        else return cont(pushlex("form"), pattern, expect("{"), pushlex("}"), block, poplex, poplex)

Avoid too many return statements within this function.
Open

    if (value == "?") return cont(typeexpr, expect(":"), typeexpr)

Avoid too many return statements within this function.
Open

    if (type == "import") return cont(pushlex("stat"), afterImport, poplex);

Avoid too many return statements within this function.
Open

    if (type == "switch") return cont(pushlex("form"), parenExpr, expect("{"), pushlex("}", "switch"), pushblockcontext,
                                      block, poplex, poplex, popcontext);

Avoid too many return statements within this function.
Open

      return cont(afterprop);

Avoid too many return statements within this function.
Open

    if (type == "new") return cont(maybeTarget(noComma));

Avoid too many return statements within this function.
Open

    if (type == "[") return cont(pushlex("]"), maybeexpression, expect("]"), poplex, me);
Severity
Category
Status
Source
Language