示例#1
0
        private function Parse_function()
        {
            if (_index >= _tokens.Count())
            {
                return(null);
            }


            function _self = null;
            var      _word = new WordParser(_tokens, ref _index);

            if (_word.word != null)
            {
                var _fn = new function(_word.word);
                if (_fn.word != null)
                {
                    _self = _fn;
                }
            }

            return(_self);
        }
示例#2
0
 public signed_function(minus _minus, function _function)
 {
     minus      = _minus;
     function   = _function;
     expression = minus?.expression + function.expression;
 }