Examples of IWhileLoopNode


Examples of org.apache.flex.compiler.tree.as.IWhileLoopNode

    //----------------------------------

    @Test
    public void testVisitWhileLoop_Do_1()
    {
        IWhileLoopNode node = (IWhileLoopNode) getNode(
                "do {a++;--b;} while(a > b);", IWhileLoopNode.class);
        visitor.visitWhileLoop(node);
        assertOut("do {\n\ta++;\n\t--b;\n} while (a > b);");
    }

Examples of org.apache.flex.compiler.tree.as.IWhileLoopNode

    }

    @Test
    public void testVisitWhileLoop_Do_1a()
    {
        IWhileLoopNode node = (IWhileLoopNode) getNode("do a++; while(a > b);",
                IWhileLoopNode.class);
        visitor.visitWhileLoop(node);
        assertOut("do\n\ta++;\nwhile (a > b);");
    }
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.