Exemple #1
0
        private Char_Litteral Parse_Char_Litteral_1()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Char_Litteral _self      = null;

            var opt_whitespace_sequence_1 = Parse_Whitespace_Sequence();
            var single_quote_1            = Parse_Single_Quote();
            var atomic_symbol             = Parse_Atomic_Symbol();
            var single_quote_2            = Parse_Single_Quote();
            var opt_whitespace_sequence_2 = Parse_Whitespace_Sequence();

            if (single_quote_1 != null && atomic_symbol != null && single_quote_2 != null)
            {
                _self = new Char_Litteral(opt_whitespace_sequence_1, single_quote_1, atomic_symbol, single_quote_2, opt_whitespace_sequence_2);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
        public Rule_Name(Char_Litteral _char_litteral)
        {
            char_litteral = _char_litteral;

            Add(char_litteral);

            UpdateProperties("rule-name");
        }
Exemple #3
0
        private Char_Litteral Parse_Char_Litteral()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Char_Litteral _self      = null;

            _self = Parse_Char_Litteral_1();
            if (_self != null)
            {
                return(_self);
            }

            UpdateBacktrackIndex(_self, _backtrack);
            return(_self);
        }