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

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


    return new SourceRange(Math.max(0, offset), length);
  }

  static ASTNode[] getSiblingNodes(ASTNode node) {
    ASTNode parent = node.getParent();
    StructuralPropertyDescriptor locationInParent = node
        .getLocationInParent();
    if (locationInParent.isChildListProperty()) {
      List<? extends ASTNode> siblings = (List<? extends ASTNode>) parent
          .getStructuralProperty(locationInParent);
      return siblings.toArray(new ASTNode[siblings.size()]);
    }
    return null;
View Full Code Here

TOP

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

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.