MCPcopy
hub / github.com/alibaba/druid / reset

Method reset

core/src/main/java/com/alibaba/druid/sql/parser/Lexer.java:229–239  ·  view source on GitHub ↗
(SavePoint savePoint)

Source from the content-addressed store, hash-verified

227 }
228
229 public void reset(SavePoint savePoint) {
230 this.pos = savePoint.bp;
231 this.bufPos = savePoint.sp;
232 this.mark = savePoint.np;
233 this.ch = savePoint.ch;
234 this.token = savePoint.token;
235 this.stringVal = savePoint.stringVal;
236 this.hash = savePoint.hash;
237 this.hashLCase = savePoint.hashLCase;
238 this.startPos = savePoint.startPos;
239 }
240
241 //出现多次调用mark()后调用reset()会有问题
242 @Deprecated

Callers 2

scanSQLTypeMethod · 0.95
TDDLHintMethod · 0.95

Calls 1

charAtMethod · 0.95

Tested by

no test coverage detected