Package tree

Examples of tree.HaxeTree



            EQ327=(Token)match(input,EQ,FOLLOW_EQ_in_varInit5413); if (state.failed) return retval;
            if ( state.backtracking==0 ) {
            EQ327_tree =
            new HaxeTree(EQ327)
            ;
            root_0 = (Object)adaptor.becomeRoot(EQ327_tree, root_0);
            }

            pushFollow(FOLLOW_expr_in_varInit5419);
View Full Code Here


        
    //PLUS
    @Test
    public void testBinOpPlus() throws RecognitionException
    {
        HaxeTree tree = parseExpression("x+y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

    }
   
    //NUMERABLE
    @Test
    public void testBinOpMinus() throws RecognitionException {
        HaxeTree tree = parseExpression("x-y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

        assertTrue(tree instanceof Binary);
    }
   
    @Test
    public void testBinOpPersent() throws RecognitionException {
        HaxeTree tree = parseExpression("x%y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

        assertTrue(tree instanceof Binary);
    }
   
    @Test
    public void testBinOpMultiply() throws RecognitionException {
        HaxeTree tree = parseExpression("x*y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

    }
   
    //DIVIDE
    @Test
    public void testBinOpDivide() throws RecognitionException {
        HaxeTree tree = parseExpression("x/y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

    }
   
    //SHIFTS   
    @Test   
    public void testBinOpShiftLeft() throws RecognitionException {
        HaxeTree tree = parseExpression("x<<y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

        assertTrue(tree instanceof Binary);
    }
   
    @Test
    public void testBinOpShiftRight() throws RecognitionException {
        HaxeTree tree = parseExpression("x>>y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

        assertTrue(tree instanceof Binary);
    }
   
    @Test
    public void testBinOpShiftStrongRight() throws RecognitionException {
        HaxeTree tree = parseExpression("x>>>y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

    }
   
    //OTHER BITWISE   
    @Test   
    public void testBinOpBitwiseOR() throws RecognitionException {
        HaxeTree tree = parseExpression("x|y");
        assertTrue(tree instanceof Binary);
    }
View Full Code Here

TOP

Related Classes of tree.HaxeTree

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.