MCPcopy Create free account
hub / github.com/google/re2j / peek

Method peek

java/com/google/re2j/Parser.java:731–733  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

729 // Returns the rune at the cursor position.
730 // Precondition: |more()|.
731 int peek() {
732 return str.codePointAt(pos);
733 }
734
735 // Advances the cursor by |n| positions, which must be ASCII runes.
736 //

Callers 4

parseInternalMethod · 0.95
parseIntMethod · 0.80
parseEscapeMethod · 0.80
parseClassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected