Package com.asakusafw.dmdl.analyzer

Examples of com.asakusafw.dmdl.analyzer.DmdlAnalyzer.resolve()


        AstScript script = parse();
        DmdlAnalyzer result = new DmdlAnalyzer(typeDrivers, attributeDrivers);
        for (AstModelDefinition<?> model : script.models) {
            result.addModel(model);
        }
        DmdlSemantics resolved = result.resolve();
        return resolved;
    }

    /**
     * Parses context script.
View Full Code Here


            throw new IllegalArgumentException("repository must not be null"); //$NON-NLS-1$
        }
        DmdlAnalyzer analyzer = parse(repository);
        try {
            LOG.debug(Messages.getString("AnalyzeTask.monitorResolveStarting")); //$NON-NLS-1$
            return analyzer.resolve();
        } catch (DmdlSemanticException e) {
            LOG.error(Messages.getString("AnalyzeTask.monitorResolveFailed"), e); //$NON-NLS-1$
            for (Diagnostic diagnostic : e.getDiagnostics()) {
                switch (diagnostic.level) {
                case INFO:
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.