예제 #1
0
        public IList <IDeclaration> GetDeclarationsIn(IPsiSourceFile sourceFile)
        {
            if (this.filesScope.Contains(sourceFile) && this.GetSourceFile() != sourceFile)
            {
                return(EmptyList <IDeclaration> .InstanceList);
            }

            return(UriIdentifierDeclaredElement.GetDeclarationsIn(sourceFile, this));
        }
예제 #2
0
        public IList <IDeclaration> GetDeclarations()
        {
            if (this.ScopeToMainFile)
            {
                return(UriIdentifierDeclaredElement.GetDeclarationsIn(this.GetSourceFile(), this));
            }

            return(UriIdentifierDeclaredElement.GetDeclarations(this));
        }
예제 #3
0
 public IList <IDeclaration> GetDeclarationsIn(IPsiSourceFile sourceFile)
 {
     return(UriIdentifierDeclaredElement.GetDeclarationsIn(sourceFile, this));
 }