MCPcopy Create free account
hub / github.com/benfry/processing4 / peek

Method peek

java/src/processing/mode/java/AutoFormat.java:254–256  ·  view source on GitHub ↗

@return chars[pos+1] or '\0' if out-of-bounds.

()

Source from the content-addressed store, hash-verified

252 * @return <tt>chars[pos+1]</tt> or '\0' if out-of-bounds.
253 */
254 private char peek() {
255 return (pos + 1 >= chars.length) ? 0 : chars[pos + 1];
256 }
257
258
259 /**

Callers 3

readForNewLineMethod · 0.95
formatMethod · 0.95
postVisitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected