示例#1
0
        public override IEnumerable <RegexResult> Matches()
        {
            foreach (var match in FunctionName.Matches())
            {
                yield return(match);
            }

            yield return(_matchLeft);

            foreach (var match in Arguments.Matches())
            {
                yield return(match);
            }

            yield return(_matchRight);
        }
示例#2
0
        public override IEnumerable <RegexResult> Matches()
        {
            yield return(_matchTemplate);

            yield return(_matchWhitespace);

            foreach (var match in _matchPath)
            {
                yield return(match);
            }

            yield return(_matchWhitespace);

            yield return(_forEvery);

            yield return(_matchWhitespace);

            foreach (var match in Arguments.Matches())
            {
                yield return(match);
            }
        }