Ejemplo n.º 1
0
        /// <summary>
        /// Parse Loop
        /// </summary>
        public virtual string Parse(TokensResult src)
        {
            this.inline = new InlineLexer(src.Links, this._options);
            this.tokens = new Stack<Token>(src.Reverse());

            var @out = String.Empty;
            while (Next() != null)
            {
                @out += Tok();
            }

            return @out;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Parse Loop
        /// </summary>
        public virtual string Parse(TokensResult src)
        {
            this.inline = new InlineLexer(src.Links, this._options);
            this.tokens = new Stack <Token>(src.Reverse());

            var @out = String.Empty;

            while (Next() != null)
            {
                @out += Tok();
            }

            return(@out);
        }