Пример #1
0
        internal void AddSeparator(GrammarSegment termSepertor)
        {
            if (_items.Count != _separator.Count + 1)
            {
                throw new NotSupportedException("Must call AddTerm AddSeparator in that order");
            }

            _separator.Add(termSepertor);
        }
Пример #2
0
        internal void AddSeparator(GrammarSegment termSepertor)
        {
            if (_items.Count != _separator.Count + 1)
            {
                throw new NotSupportedException("Must call AddTerm AddSeparator in that order");
            }

            _separator.Add(termSepertor);
        }
Пример #3
0
        internal void AddSeparator(GrammarSegment termSepertor)
        {
            if (_items.Count != _separator.Count + 1)
            {
                return;
            }

            _separator.Add(termSepertor);
        }
Пример #4
0
 StringBlock(GrammarSegment type)
 {
     GrammarSegment = type;
 }
Пример #5
0
 internal void AddSeparator(GrammarSegment termSepertor)
 {
     _separator.Add(termSepertor);
 }
 SpecialCharacter(char specialCharacter, GrammarSegment type) : base(specialCharacter)
 {
     GrammarSegment = type;
 }
Пример #7
0
 UnitBlock(GrammarSegment type)
 {
     GrammarSegment = type;
 }
Пример #8
0
 SpecialCharacter(char specialCharacter, GrammarSegment type) : base(specialCharacter)
 {
     GrammarSegment = type;
 }
Пример #9
0
 SymbolBlock(GrammarSegment type)
 {
     GrammarSegment = type;
 }
Пример #10
0
 UnitBlock(GrammarSegment type)
 {
     GrammarSegment = type;
 }
Пример #11
0
 SymbolBlock(GrammarSegment type)
 {
     GrammarSegment = type;
 }
Пример #12
0
 StringBlock(GrammarSegment type)
 {
     GrammarSegment = type;
 }