MCPcopy Index your code
hub / github.com/apache/tomcat / nextChar

Method nextChar

java/org/apache/jasper/compiler/JspReader.java:134–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 int nextChar() {
135 if (!hasMoreInput()) {
136 return -1;
137 }
138
139 int ch = current.stream[current.cursor];
140
141 current.cursor++;
142
143 if (ch == '\n') {
144 current.line++;
145 current.col = 0;
146 } else {
147 current.col++;
148 }
149 return ch;
150 }
151
152 /**
153 * A faster approach than calling {@link #mark()} & {@link #nextChar()}. However, this approach is only safe if the

Callers 11

getTextMethod · 0.95
matchesMethod · 0.95
matchesETagMethod · 0.95
skipSpacesMethod · 0.95
skipUntilMethod · 0.95
skipUntilIgnoreEscMethod · 0.95
skipUntilETagMethod · 0.95
skipELExpressionMethod · 0.95
parseTokenMethod · 0.95
isDelimiterMethod · 0.95

Calls 2

hasMoreInputMethod · 0.95
initMethod · 0.65

Tested by

no test coverage detected