Example #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);
        }
Example #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);
        }
Example #3
0
        internal void AddSeparator(GrammarSegment termSepertor)
        {
            if (_items.Count != _separator.Count + 1)
            {
                return;
            }

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