Package com.asakusafw.compiler.flow.stage

Examples of com.asakusafw.compiler.flow.stage.StageCompiler


    }

    private List<StageModel> compileStages(
            StageGraph stageGraph) throws IOException {
        assert stageGraph != null;
        StageCompiler compiler = new StageCompiler(environment);
        return compiler.compile(stageGraph);
    }
View Full Code Here


     * @return コンパイル結果
     * @throws IllegalArgumentException 引数に{@code null}が指定された場合
     */
    protected List<StageModel> compileStages(StageGraph graph) {
        try {
            return new StageCompiler(environment).compile(graph);
        } catch (IOException e) {
            throw new AssertionError(e);
        }
    }
View Full Code Here

     */
    @Test
    public void Part_Ex1() {
        StageGraph graph = jfToStageGraph(ProjectFlowInvalid.class);
        try {
            new StageCompiler(environment).compile(graph);
            assertThat(environment.hasError(), is(true));
        } catch (IOException e) {
            // ok
        }
    }
View Full Code Here

     */
    @Test
    public void Ex1_Part() {
        StageGraph graph = jfToStageGraph(ExtendFlowInvalid.class);
        try {
            new StageCompiler(environment).compile(graph);
            assertThat(environment.hasError(), is(true));
        } catch (IOException e) {
            // ok
        }
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.flow.stage.StageCompiler

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.