예제 #1
0
        public Char_Litteral(Whitespace_Sequence _opt_whitespace_sequence_1, Single_Quote _single_quote_1, Atomic_Symbol _atomic_symbol, Single_Quote _single_quote_2, Whitespace_Sequence _opt_whitespace_sequence_2)
        {
            opt_whitespace_sequence_1 = _opt_whitespace_sequence_1;
            single_quote_1            = _single_quote_1;
            atomic_symbol             = _atomic_symbol;
            single_quote_2            = _single_quote_2;
            opt_whitespace_sequence_2 = _opt_whitespace_sequence_2;

            Add(opt_whitespace_sequence_1);
            Add(single_quote_1);
            Add(atomic_symbol);
            Add(single_quote_2);
            Add(opt_whitespace_sequence_2);



            UpdateProperties("char-litteral");
        }
예제 #2
0
        private Atomic_Symbol Parse_Atomic_Symbol_10()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _single_quote = Parse_Single_Quote();;

            if (_single_quote != null)
            {
                _self = new Atomic_Symbol(_single_quote);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #3
0
        private Atomic_Symbol Parse_Atomic_Symbol_8()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _letter = Parse_Letter();;

            if (_letter != null)
            {
                _self = new Atomic_Symbol(_letter);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #4
0
        private Atomic_Symbol Parse_Atomic_Symbol_9()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _semi_colon = Parse_Semi_Colon();;

            if (_semi_colon != null)
            {
                _self = new Atomic_Symbol(_semi_colon);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #5
0
        private Atomic_Symbol Parse_Atomic_Symbol_7()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _backslash = Parse_Backslash();;

            if (_backslash != null)
            {
                _self = new Atomic_Symbol(_backslash);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #6
0
        private Atomic_Symbol Parse_Atomic_Symbol_5()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _whitespace = Parse_Whitespace();;

            if (_whitespace != null)
            {
                _self = new Atomic_Symbol(_whitespace);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #7
0
        private Atomic_Symbol Parse_Atomic_Symbol_4()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _pipe = Parse_Pipe();;

            if (_pipe != null)
            {
                _self = new Atomic_Symbol(_pipe);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #8
0
        private Atomic_Symbol Parse_Atomic_Symbol_3()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

            var _optional = Parse_Optional();;

            if (_optional != null)
            {
                _self = new Atomic_Symbol(_optional);
            }
            else
            {
                _self = null;
            }


            UpdateBacktrackIndex(_self, _backtrack);


            return(_self);
        }
예제 #9
0
        // Create Parse_Production_Rule_1 here for consistency sake

        private Atomic_Symbol Parse_Atomic_Symbol()
        {
            var           _backtrack = _scanResult.CurrentReadIndex;
            Atomic_Symbol _self      = null;

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

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

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

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

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

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

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

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

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

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

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