public final class CatchScope extends NoDefinitionScope implements IASScope
ASScope
subclass for Catch block scopes.ASScopeBase.FilteredCollection<T>
EMPTY_USE_ARRAY, scopedNodeRef
allNamespacesSet, definitionStore
Constructor and Description |
---|
CatchScope(ASScope containingScope) |
Modifier and Type | Method and Description |
---|---|
void |
setParameterDefinition(IParameterDefinition param)
Add the parameter for the catch scope to this scope - can't use
addDefinition because it will hoist the defn to the containing scope.
|
addDefinition, addDefinitionToThisScope, addImport, addNamespaceDirective, addUseDirective, getContainingDefinition, getDefinition, getImports, getNamespaceSet, namespaceSetSameAsContainingScopeNamespaceSet
addDependencyOnBuiltinType, addImplicitOpenNamespaces, addLocalImportsToNamespaceSet, addNamespacesFromContainingScope, adjustNamespaceSetForSuper, canDelegateLookupToContainingScope, compact, findProperty, findProperty, findProperty, findProperty, findProperty, findProperty, findProperty, findProperty, findPropertyQualified, findPropertyQualified, findPropertyQualified, findPropertyQualified, getAllPropertiesForMemberAccess, getAllPropertiesForScopeChain, getContainingClass, getContainingScope, getContainingScopeExplicitImports, getContainingSourcePath, getExplicitImportQualifiers, getFileScope, getFirstNamespaceDirective, getNamespaceSetForName, getNamespaceSetForSuper, getPropertiesByNameForMemberAccess, getPropertyByNameForMemberAccess, getPropertyForMemberAccess, getPropertyForMemberAccess, getPropertyForScopeChain, getPropertyFromDef, getPropertyFromDef, getQualifiedPropertyFromDef, getQualifiedPropertyFromDef, getScopeNode, getUsedNamespaces, getWorkspace, hasAnyBindableDefinitions, isInWith, isPackageName, reconnectScopeNode, setAsContainingScopeOfAnonymousFunction, setContainingDefinition, setContainingScope, toStringHeader
addDefinitionToStore, getAllLocalDefinitions, getAllLocalDefinitionSets, getAllLocalNames, getAllLocalProperties, getLocalDefinitionSetByName, getLocalProperty, getLocalProperty, getLocalProperty, isContingentDefinitionNeeded, removeDefinition, removeDefinitionFromStore, toString, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllLocalDefinitions, getAllLocalDefinitionSets, getAllLocalNames, getContainingScope, getDefinition, getLocalDefinitionSetByName, getScopeNode
public CatchScope(ASScope containingScope)
public void setParameterDefinition(IParameterDefinition param)
param
- The parameter definition.Copyright © 2016 The Apache Software Foundation. All rights reserved.