Package org.eclipse.dltk.ast.declarations

Examples of org.eclipse.dltk.ast.declarations.TypeDeclaration


    }
    try {
      ISourceModule sourceModule = type.getSourceModule();
      ModuleDeclaration moduleDeclaration = SourceParserUtil
          .getModuleDeclaration(sourceModule);
      TypeDeclaration typeDeclaration = PHPModelUtils.getNodeByClass(
          moduleDeclaration, type);
      if (typeDeclaration instanceof IPHPDocAwareDeclaration) {
        return ((IPHPDocAwareDeclaration) typeDeclaration).getPHPDoc();
      }
    } catch (ModelException e) {
View Full Code Here


            fieldDeclaringTypeSet.put(declaringType, type);
            ISourceModule sourceModule = declaringType
                .getSourceModule();
            ModuleDeclaration moduleDeclaration = SourceParserUtil
                .getModuleDeclaration(sourceModule);
            TypeDeclaration typeDeclaration = PHPModelUtils
                .getNodeByClass(moduleDeclaration,
                    declaringType);

            if (typeDeclaration != null
                && field instanceof SourceRefElement) {
View Full Code Here

      final List<IGoal> subGoals, final IType declaringType,
      IType realType) throws ModelException {
    ISourceModule sourceModule = declaringType.getSourceModule();
    ModuleDeclaration moduleDeclaration = SourceParserUtil
        .getModuleDeclaration(sourceModule);
    TypeDeclaration typeDeclaration = PHPModelUtils.getNodeByClass(
        moduleDeclaration, declaringType);

    // try to search declarations of type "self::$var =" or
    // "$this->var ="
    ClassDeclarationSearcher searcher;
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.ast.declarations.TypeDeclaration

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.