Package org.eclipse.dltk.ast

Examples of org.eclipse.dltk.ast.ASTListNode.addNode()


  public ASTListNode getSuperClasses() {
    int start = getBodyStart() - 1;
    ASTListNode listNode = new ASTListNode(start, start);
    if (superClass != null) {
      listNode.addNode(superClass);
      if (superClass.sourceStart() < start) {
        start = superClass.sourceStart();
      }
    }
    if (interfaceList != null) {
View Full Code Here


        start = superClass.sourceStart();
      }
    }
    if (interfaceList != null) {
      for (TypeReference iface : interfaceList) {
        listNode.addNode(iface);
        if (iface.sourceStart() < start) {
          start = iface.sourceStart();
        }
      }
    }
View Full Code Here

    this.phpDoc = phpDoc;

    int nodesStart = body.sourceStart() - 1;
    ASTListNode parentsList = new ASTListNode(nodesStart, nodesStart);
    for (TypeReference intface : interfaces) {
      parentsList.addNode(intface);
      if (parentsList.sourceStart() > intface.sourceStart()) {
        parentsList.setStart(intface.sourceStart());
      }
    }
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.