Exemple #1
0
        private letter Parse_letter()
        {
            if (_index >= _tokens.Count())
            {
                return(null);
            }                                               // must be first line on any atom


            /* letter:
             *      "A-Za-z" */


            var _data   = _tokens[_index];
            var _result = new letter(_data);



            if (_result.is_letter)
            {
                _index++;
                return(_result);
            }
            else
            {
                return(null);
            }
        }
Exemple #2
0
 public letter_sequence(letter _letter, letter_sequence _letter_sequence)
 {
     letter = _letter;
     self_letter_sequence = _letter_sequence;
     expression           = self_letter_sequence?.expression + letter.expression;
 }
Exemple #3
0
 public letter_sequence(letter _letter)
 {
     letter     = _letter;
     expression = letter.expression;
 }