public interface IFileScope extends IASScope
Modifier and Type | Method and Description |
---|---|
void |
collectExternallyVisibleDefinitions(Collection<IDefinition> definitions,
boolean includePrivateDefinitions)
Finds the definitions in this scope which could be visible to other
compilation units and adds them to a specified collection of definitions.
|
String |
getContainingPath() |
boolean |
isSWC() |
getAllLocalDefinitions, getAllLocalDefinitionSets, getAllLocalNames, getContainingScope, getDefinition, getLocalDefinitionSetByName, getScopeNode
String getContainingPath()
boolean isSWC()
void collectExternallyVisibleDefinitions(Collection<IDefinition> definitions, boolean includePrivateDefinitions)
The externally-visible definitions are the ones in a file scope or in a package scope.
definitions
- The collection of IDefinition
's to which the
externally-visible definitions in this scope are to be added.includePrivateDefinitions
- If true, definitions with private
namespace qualifiers are added to the specified collection.Copyright © 2016 The Apache Software Foundation. All rights reserved.