Showing 14,752 of 14,752 total issues
Avoid deeply nested control flow statements. Open
Open
if (!token) {
for (var i = 0; i < text.length; i++) {
if (text[i] === '{') {
state.braced++;
} else if (text[i] === '}') {
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (stream.eat(/[eE]/)) { // float with exponent
if (stream.eat(/[-+]/)) {
if (!stream.eatWhile(digitRE)) {
stream.backUp(2); // "2e-" - syntax error
}
- 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 (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
- 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 (stream.pos > word.length && stream.string.charAt(stream.pos-word.length-1)=="." && state.lastTokenWasBuiltin)
return "builtin";
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (functions && functions.propertyIsEnumerable(word) ||
(stream.current().match(/^#@?[a-z0-9_]+ *$/i) && stream.peek()=="(") &&
!(functions && functions.propertyIsEnumerable(word.toLowerCase()))) {
state.beforeParams = true;
state.lastTokenWasBuiltin = false;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if (keywords && keywords.propertyIsEnumerable(word))
return "keyword";
- 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
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