Package org.adjective.syntactic.parser.node

Examples of org.adjective.syntactic.parser.node.BaseNode


    {
        if (output.isDirectory())
        {
            output = new File(output, source.getName());
        }
        BaseNode ast = parse(source);
        if (ast == null)
        {
            return;
        }
        PrintStream out = new PrintStream(new FileOutputStream(output));
        try
        {
            final Convert8To7Visitor converter = new Convert8To7Visitor();
            if (_classpath != null)
            {
                converter.setClassPath(new ClassPath(_classpath));
            }
            ast.jjtAccept(converter, null);
            ast.jjtAccept(new PrintSourceVisitor(), out);
        }
        finally
        {
            out.close();
        }
View Full Code Here

TOP

Related Classes of org.adjective.syntactic.parser.node.BaseNode

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.