Showing 6,856 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
switch (stage(state)) {
case 0:
change(state, to_normal, context(rx_substitution_ref, 1));
stream.match(rx_substitution_text);
token = 'variable-2';
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (state.localMode) state.localState = CodeMirror.startState(state.localMode);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while ((letter = stream.eat(/[^\s\(\[\;\)\]]/)) != null) {
keyWord += letter;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(isEQName && ch === '\'') while(stream.next() !== '\''){}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(cur === ',') return null;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.match(/^#b/i)) {
numTest = isBinaryNumber;
} else if (stream.match(/^#o/i)) {
numTest = isOctalNumber;
} else if (stream.match(/^#x/i)) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (numTest != null) {
if (hasRadix && !hasExactness) {
// consume optional exactness after radix
stream.match(/^#[ei]/i);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch == ")" || ch == "]") {
returnType = BRACKET;
if (state.indentStack != null && state.indentStack.type == (ch == ")" ? "(" : "[")) {
popStack(state);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word
pushStack(state, indentTemp + INDENT_WORD_SKIP, ch);
} else { // non-indent word
// we continue eating the spaces
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(typeof state.sExprComment == "number") state.sExprComment++;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (
// if setext set, indicates line after ---/===
state.setext || (
// line before ---/===
(!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false &&
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(isEQName && ch === '\"') while(stream.next() !== '"'){}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (m[1] != state.type) return "error";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eat(/[ei]/i)) {
hasExactness = true;
} else {
stream.backUp(1); // must be radix specifier
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch = stream.eat(/\{|%/)) {
//Cache close tag
state.intag = ch;
if(ch == "{") {
state.intag = "}";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (next == ch && stream.string.charAt(pos - 2) != "\\") { pos--; break }
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(!stream.skipTo("#}")) {
stream.skipToEnd();
} else {
stream.eatWhile(/\#|}/);
state.incomment = false;
- Create a ticketCreate a ticket
Function HaxeLexical
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function HaxeLexical(indented, column, type, align, prev, info) {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
while (stream.match(/^\\[CM]-/)) {}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (ch == "!" || ch == "=") stream.eat("=")
- Create a ticketCreate a ticket