Package dk.brics.jwig.analysis.jaive.MyPatternMatcher

Examples of dk.brics.jwig.analysis.jaive.MyPatternMatcher.Pattern


    public Automaton convert(String pattern) {
        return convert(new MyPatternMatcher(pattern, true));
    }

    private Automaton convert(MyPatternMatcher matcher) {
        Pattern pattern = matcher.getParsedpattern();
        Automaton choices = Automaton.makeEmpty();
        for (ChoicePattern choice : pattern.getChoices()) {
            choices = choices.union(convert(choice));
        }
        return choices;
    }
View Full Code Here

TOP

Related Classes of dk.brics.jwig.analysis.jaive.MyPatternMatcher.Pattern

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.