Beispiel #1
0
        private Nfa LexerRuleFactorRegex(EbnfLexerRuleFactorRegex ebnfLexerRuleFactorRegex)
        {
            var regex = ebnfLexerRuleFactorRegex.Regex;

            return(this.regexToNfa.Transform(regex));
        }
Beispiel #2
0
        private INfa LexerRuleFactorRegex(EbnfLexerRuleFactorRegex ebnfLexerRuleFactorRegex)
        {
            var regex = ebnfLexerRuleFactorRegex.Regex;

            return(_regexToNfaAlgorithm.Transform(regex));
        }