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

AddToken() private method

private AddToken ( JinianNet.JNTemplate.Parser.Node.Token token ) : void
token JinianNet.JNTemplate.Parser.Node.Token
return void
        private void AddToken(Token token)
        {
            if (this._collection.Count > 0 && this._collection[this._collection.Count - 1].Next == null)
            {
                this._collection[this._collection.Count - 1].Next = token;
            }
            this._collection.Add(token);
        }

Same methods

TemplateLexer::AddToken ( TokenKind kind ) : void