Пример #1
0
        private bool TryParseDataSection()
        {
            if (Accept(StepTokenKind.Data))
            {
                currentSection_ = new StepDataSection();

                Expect(StepTokenKind.Semicolon);

                ProcessDataSection(currentSection_);

                while (TryParseEntity())
                {
                    ;
                }

                Expect(StepTokenKind.EndSection);
                Expect(StepTokenKind.Semicolon);

                return(true);
            }

            return(false);
        }
Пример #2
0
 protected virtual void ProcessDataSection(StepDataSection dataSection)
 {
 }
Пример #3
0
 protected virtual void ProcessEntity(StepDataSection section, string entityType, IReadOnlyList <StepValue> attributeValues)
 {
 }