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

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