Package ch.uzh.ifi.seal.changedistiller.ast

Examples of ch.uzh.ifi.seal.changedistiller.ast.InvalidSyntaxException


        ICompilationUnit cu = createCompilationUnit(source, fileName);
        CompilationResult compilationResult = createDefaultCompilationResult(cu, options);
        JavaCompilation javaCompilation = new JavaCompilation(parser.parse(cu, compilationResult), parser.scanner);
       
        if (compilationResult.hasSyntaxError) {
          throw new InvalidSyntaxException(new String(compilationResult.getFileName()), compilationResult.toString());
        }
   
        return javaCompilation;
    }
View Full Code Here

TOP

Related Classes of ch.uzh.ifi.seal.changedistiller.ast.InvalidSyntaxException

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.