Exemple #1
0
        public void ProcessCurrentMeaningfulBlock(string accumulatedContent)
        {
            var lines = accumulatedContent.SplitUnixLines().ToList();
            var block = SubSections[m_BlockToWriteTo];
            var txtMiniBlockParser = new TxtMiniBlockParser(block);

            txtMiniBlockParser.ProcessOneMeaningfulBlock(ref lines);
        }
Exemple #2
0
            internal override void ParseString(string st)
            {
                var remainingLines = new List <string>(st.SplitLines());

                while (remainingLines.Any())
                {
                    var block           = new MemberSubSection();
                    var miniBlockParser = new TxtMiniBlockParser(block);
                    miniBlockParser.ProcessOneMeaningfulBlock(ref remainingLines);
                    //block.EnforcePunctuation ();
                    _memDocModel.SubSections.Add(block);
                }
            }