public class ASFileScopeRequestResult extends FileScopeRequestResultBase
definitions| Constructor and Description |
|---|
ASFileScopeRequestResult(Collection<IDefinition> definitionPromises,
IDefinitionPriority definitionPriority,
Collection<ICompilerProblem> problems,
ASFileScope fileScope,
IFileSpecification fileSpec)
ASCompilationUnit only allow one public visible definition. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilerProblem> |
checkExternallyVisibleDefinitions(String dottedQName)
Create compiler problems if the a definition with the specified dotted
qualified name is not defined in the
IASScopes in this result
object or if there is an externally visible definition other than the
named definition. |
IDefinition |
getMainDefinition(String qname)
The only public definition in the file scope should match the given
QName.
|
addProblems, getExternallyVisibleDefinitions, getFileScopes, getProblems, getScopespublic ASFileScopeRequestResult(Collection<IDefinition> definitionPromises, IDefinitionPriority definitionPriority, Collection<ICompilerProblem> problems, ASFileScope fileScope, IFileSpecification fileSpec)
ASCompilationUnit only allow one public visible definition.public Collection<ICompilerProblem> checkExternallyVisibleDefinitions(String dottedQName)
IFileScopeRequestResultIASScopes in this result
object or if there is an externally visible definition other than the
named definition.checkExternallyVisibleDefinitions in interface IFileScopeRequestResultcheckExternallyVisibleDefinitions in class FileScopeRequestResultBasedottedQName - The dotted fully qualified definition name of the definition that should
be the only definition in the IASScopes in this result object.Collection of ICompilerProblemspublic IDefinition getMainDefinition(String qname)
getMainDefinition in interface IFileScopeRequestResultgetMainDefinition in class FileScopeRequestResultBaseCopyright © 2016 The Apache Software Foundation. All rights reserved.