if (options==null)
options = new Configuration();
problemsHandler = new ProblemsHandler();
astBuilder = new ASTBuilder(problemsHandler);
compiler = new LessToCssCompiler(problemsHandler, options);
CompilationResult compilationResult = doCompile(source, options);
if (problemsHandler.hasErrors()) {
throw new Less4jException(problemsHandler.getErrors(), compilationResult);
}
return compilationResult;