Showing 6,856 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
else if(c=="w"){
c=look(stream, 1);
if(c=="("){
eatSuffix(stream, 2);
return tokenChain(stream,state,[")"],"bracket");}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eat(" ") || stream.sol()) {
if (stream.match(keywords)) {
return "keyword";
}
if (stream.match(atom)) {
- 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(c=="("){
eatSuffix(stream, 2);
return tokenChain(stream,state,[")"],"string");}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(c=="{"){
eatSuffix(stream, 2);
return tokenChain(stream,state,["}"],"string");}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(c=="(")
return tokenChain(stream,state,[")",")"],RXstyle,RXmodifiers);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (state.localState === null) {
state.localState = CodeMirror.startState(jsMode);
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(/[\^'"!~\/]/.test(c)){
eatSuffix(stream, 1);
return tokenChain(stream,state,[stream.eat(c)],"string");}}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eat(tests.symbol) === undefined) {
break;
} else {
col++;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (builtin.propertyIsEnumerable(cur)) {
if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
return "builtin";
} else { //Data types are of from KEYWORD##
var i = cur.length - 1;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(c=="["){
eatSuffix(stream, 2);
return tokenChain(stream,state,["]"],"string");}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (wordIsBlock(firstWordOfLine(stream))) return "block";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (ch == "=") {
stream.next();
ch = stream.peek();
if (ch == "=") {
stream.next();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (!(ch == "\\" && chPos > 0)) {
state.tlvIndentationStyle[depth] = tlvScopePrefixChars[ch];
if (tlvTrackStatements) {state.statementComment = false;}
depth++;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (state.braced === 0) {
token = "matchingbracket";
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (match[0] == "//") {
// Line comment.
stream.skipToEnd();
} else {
// Block comment.
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(c=="{")
return tokenChain(stream,state,["}","}"],RXstyle,RXmodifiers);
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (tlvTrackStatements && !stream.eol()) {
// Anything after comment is assumed to be real statement content.
state.statementComment = false;
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (ch == ":") {
stream.next();
ch = stream.peek();
if (ch == "=") {
stream.next();
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
} else if (text[i] === "}") {
state.braced--;
if (state.braced === 0) {
token = "matchingbracket";
}
- Create a ticketCreate a ticket