public virtual void VisitInlineBlock(InlineBlock inlineBlock)
 {
 }
Exemple #2
0
        InlineBlock ParseInline()
        {
            Line firstLine = _classifier.ReadLine();

            Debug.Assert(firstLine.Classification == LineClassification.InlineOpen);

            InlineBlock block = new InlineBlock(firstLine.Text);

            while (true)
            {
                Line line = _classifier.PeekLine();

                if (line.Classification != LineClassification.InlineLine)
                {
                    return block;
                }

                _classifier.ReadLine();

                block.Lines.Add(line.Text);
            }
        }