Examples of IncludeStatementContext


Examples of org.eclipse.php.internal.core.codeassist.contexts.IncludeStatementContext

    ICompletionContext context = getContext();
    if (!(context instanceof IncludeStatementContext)) {
      return;
    }

    IncludeStatementContext includeContext = (IncludeStatementContext) context;
    String prefix = includeContext.getPrefix();
    SourceRange replaceRange = getReplacementRange(includeContext);

    final ISourceModule sourceModule = includeContext.getSourceModule();
    if (sourceModule == null || sourceModule.getScriptProject() == null) {
      if (DLTKCore.DEBUG_COMPLETION) {
        System.out.println("Unable to locate source module or project"); //$NON-NLS-1$
      }
      return;
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.