MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / isEndOfExpr

Function isEndOfExpr

ServerEditorWeb/ace/worker-javascript.js:3051–3061  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3049 }
3050
3051 function isEndOfExpr() {
3052 var curr = state.tokens.curr;
3053 var next = state.tokens.next;
3054 if (next.id === ";" || next.id === "}" || next.id === ":") {
3055 return true;
3056 }
3057 if (isInfix(next) === isInfix(curr) || (curr.id === "yield" && state.option.inMoz(true))) {
3058 return curr.line !== next.line;
3059 }
3060 return false;
3061 }
3062
3063 function expression(rbp, initial) {
3064 var left, isArray = false, isObject = false, isLetExpr = false,

Callers 2

expressionFunction · 0.85

Calls 1

isInfixFunction · 0.85

Tested by

no test coverage detected