JinianNet.JNTemplate.Parser.TemplateLexer.Reset C# (CSharp) Method

Reset() public method

重置分析器
public Reset ( ) : void
return void
        public void Reset()
        {
            this._flagMode = FlagMode.None;
            this._line = 1;
            this._column = 1;
            this._kind = TokenKind.Text;
            this._startColumn = 1;
            this._startLine = 1;
            this._scanner = new CharScanner(this._document);
            this._collection = new List<Token>();
            this._pos = new Stack<String>();
        }