Examples of IUnaryOperatorNode


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

    }

    @Test
    public void testVisitUnaryOperatorNode_PreIncrement()
    {
        IUnaryOperatorNode node = getUnaryNode("++a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("++a");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_PostDecrement()
    {
        IUnaryOperatorNode node = getUnaryNode("a--");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("a--");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_PreDecrement()
    {
        IUnaryOperatorNode node = getUnaryNode("--a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("--a");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_BitwiseNot()
    {
        IUnaryOperatorNode node = getUnaryNode("~a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("~a");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_LogicalNot()
    {
        IUnaryOperatorNode node = getUnaryNode("!a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("!a");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperator_Delete()
    {
        IUnaryOperatorNode node = getUnaryNode("delete a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("delete a");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_Typeof()
    {
        IUnaryOperatorNode node = getUnaryNode("typeof(a)");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("typeof(a)");
    }
View Full Code Here

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

    @Test
    public void testVisitUnaryOperatorNode_Typeof_NoParens()
    {
        // TODO (mschmalle) the notation without parenthesis is also valid in AS/JS
        IUnaryOperatorNode node = getUnaryNode("typeof a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("typeof(a)");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_Void()
    {
        IUnaryOperatorNode node = getUnaryNode("void a");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("void a");
    }
View Full Code Here

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

    }

    @Test
    public void testVisitUnaryOperatorNode_PostIncrement()
    {
        IUnaryOperatorNode node = getUnaryNode("a++");
        asBlockWalker.visitUnaryOperator(node);
        assertOut("a++");
    }
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.