Package org.eclipse.php.internal.core.ast.nodes

Examples of org.eclipse.php.internal.core.ast.nodes.ASTNode


    assertNotNull(program);

    // select the function declaration.
    int start = 91;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
  }
View Full Code Here


    assertNotNull(program);

    // select the function declaration.
    int start = 99;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
  }
View Full Code Here

    assertNotNull(program);

    // select the function declaration.
    int start = 96;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
  }
View Full Code Here

    assertNotNull(program);

    // select the function declaration.
    int start = 30;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
  }
View Full Code Here

    assertNotNull(program);

    //
    int start = 14;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
View Full Code Here

    assertNotNull(program);

    //
    int start = 78;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
  }
View Full Code Here

    assertNotNull(program);

    //
    int start = 18;
    ASTNode selectedNode = locateNode(program, start, 0);
    selectedNode = selectedNode.getParent();
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
  }
View Full Code Here

    assertNotNull(program);

    //
    int start = 28;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_CLASS_MEMBER,
        PhpElementConciliator.concile(selectedNode));
View Full Code Here

    assertNotNull(program);

    // select 'echo $x'
    int start = 46;
    ASTNode selectedNode = locateNode(program, start, 0);
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_LOCAL_VARIABLE,
        PhpElementConciliator.concile(selectedNode));
View Full Code Here

    assertNotNull(program);

    // select 'echo $x'
    int start = 33;
    ASTNode selectedNode = locateNode(program, start, 0);
    selectedNode = selectedNode.getParent();
    assertNotNull(selectedNode);

    assertEquals(PhpElementConciliator.CONCILIATOR_LOCAL_VARIABLE,
        PhpElementConciliator.concile(selectedNode));
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.ast.nodes.ASTNode

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.