MCPcopy Create free account
hub / github.com/chibash/stone / rightIsExpr

Method rightIsExpr

src/stone/Parser.java:223–228  ·  view source on GitHub ↗
(int prec, Precedence nextPrec)

Source from the content-addressed store, hash-verified

221 return null;
222 }
223 private static boolean rightIsExpr(int prec, Precedence nextPrec) {
224 if (nextPrec.leftAssoc)
225 return prec < nextPrec.value;
226 else
227 return prec <= nextPrec.value;
228 }
229 protected boolean match(Lexer lexer) throws ParseException {
230 return factor.match(lexer);
231 }

Callers 1

doShiftMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected