Package dtool.ast.definitions

Examples of dtool.ast.definitions.DefSymbol


 
  public Reference reference;
 
  public RESULT switchOnPickedNode(ASTNode node) {
    if(node instanceof DefSymbol){
      DefSymbol defSymbol = (DefSymbol) node;
      return nodeIsDefSymbol(defSymbol);
    } else if(node instanceof NamedReference) {
      NamedReference namedReference = (NamedReference) node;
      return nodeIsNamedReference(namedReference);
    } else if(node instanceof Reference) {
View Full Code Here


        errorMessage = "Could not parse contents";
      }
      Module neoModule = parsedModule.module;
      ASTNode elem = ASTNodeFinder.findElement(neoModule, offset);
      if(elem instanceof DefSymbol) {
        DefSymbol defSymbol = (DefSymbol) elem;
        defunit = defSymbol.getDefUnit();
      } else if(elem instanceof Reference) {
        Reference ref = (Reference) elem;
        IModuleResolver mr = DToolClient_Bad.getResolverFor(inputPath);
        defunit = ref.findTargetDefElement(mr);
        if(defunit == null) {
View Full Code Here

TOP

Related Classes of dtool.ast.definitions.DefSymbol

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.