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

Method step

java/com/google/re2j/MachineInput.java:185–194  ·  view source on GitHub ↗
(int pos)

Source from the content-addressed store, hash-verified

183 }
184
185 @Override
186 int step(int pos) {
187 pos += start;
188 if (pos < end) {
189 int rune = Character.codePointAt(str, pos);
190 return rune << 3 | Character.charCount(rune);
191 } else {
192 return EOF;
193 }
194 }
195
196 @Override
197 boolean canCheckPrefix() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected