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

Method skipString

java/com/google/re2j/Parser.java:745–747  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

743
744 // Advances the cursor by the number of cursor positions in |s|.
745 void skipString(String s) {
746 pos += s.length();
747 }
748
749 // Returns the rune at the cursor position, and advances the cursor
750 // past it. Precondition: |more()|.

Callers 4

parseInternalMethod · 0.95
parsePerlFlagsMethod · 0.80
parseNamedClassMethod · 0.80
parseUnicodeClassMethod · 0.80

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected