提交 b2f81257 authored 作者: noelgrandin's avatar noelgrandin

add comments to fields

上级 020f36a7
...@@ -20,13 +20,21 @@ import org.h2.message.DbException; ...@@ -20,13 +20,21 @@ import org.h2.message.DbException;
public class ScriptReader { public class ScriptReader {
private final Reader reader; private final Reader reader;
private char[] buffer; private char[] buffer;
/** position in the buffer of the next char to be read */
private int bufferPos; private int bufferPos;
/** position in the buffer of the statement start */
private int bufferStart = -1; private int bufferStart = -1;
/** position in the buffer of the last available char */
private int bufferEnd; private int bufferEnd;
/** true if we have read past the end of file */
private boolean endOfFile; private boolean endOfFile;
/** true if we are inside a comment */
private boolean insideRemark; private boolean insideRemark;
/** Only valid if insideRemark is true. True if we are inside a block comment, false if we are inside a line comment */
private boolean blockRemark; private boolean blockRemark;
/** true if comments should be skipped completely by this reader. */
private boolean skipRemarks; private boolean skipRemarks;
/** position in buffer of start of comment */
private int remarkStart; private int remarkStart;
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论