Modifier and Type | Method and Description |
---|---|
NameDeclaration |
ASTName.getNameDeclaration() |
Modifier and Type | Method and Description |
---|---|
void |
ASTName.setNameDeclaration(NameDeclaration nd) |
Modifier and Type | Class and Description |
---|---|
class |
ClassNameDeclaration |
class |
MethodNameDeclaration |
class |
VariableNameDeclaration |
Modifier and Type | Method and Description |
---|---|
NameDeclaration |
DeclarationFinderFunction.getDecl() |
NameDeclaration |
ImageFinderFunction.getDecl() |
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
ClassScope.addNameOccurrence(NameOccurrence occurrence) |
Set<NameDeclaration> |
MethodScope.addNameOccurrence(NameOccurrence occurrence) |
Set<NameDeclaration> |
LocalScope.addNameOccurrence(NameOccurrence occurrence) |
protected Set<NameDeclaration> |
ClassScope.findVariableHere(JavaNameOccurrence occurrence) |
protected abstract Set<NameDeclaration> |
AbstractJavaScope.findVariableHere(JavaNameOccurrence occurrence) |
Set<NameDeclaration> |
MethodScope.findVariableHere(JavaNameOccurrence occurrence) |
protected Set<NameDeclaration> |
SourceFileScope.findVariableHere(JavaNameOccurrence occ) |
Set<NameDeclaration> |
LocalScope.findVariableHere(JavaNameOccurrence occurrence) |
Set<NameDeclaration> |
Search.getResult() |
Map<NameDeclaration,List<NameOccurrence>> |
VariableUsageFinderFunction.getUsed() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractJavaScope.addDeclaration(NameDeclaration declaration) |
void |
MethodScope.addDeclaration(NameDeclaration variableDecl) |
void |
SourceFileScope.addDeclaration(NameDeclaration declaration)
Adds a new declaration to this scope.
|
void |
LocalScope.addDeclaration(NameDeclaration nameDecl) |
void |
VariableUsageFinderFunction.applyTo(NameDeclaration o) |
void |
DeclarationFinderFunction.applyTo(NameDeclaration nameDeclaration) |
void |
ImageFinderFunction.applyTo(NameDeclaration nameDeclaration) |
protected void |
AbstractJavaScope.checkForDuplicatedNameDeclaration(NameDeclaration declaration) |
Constructor and Description |
---|
VariableUsageFinderFunction(Map<NameDeclaration,List<NameOccurrence>> decls) |
Modifier and Type | Method and Description |
---|---|
NameDeclaration |
ASTName.getNameDeclaration() |
NameDeclaration |
ASTVariableOrConstantDeclaratorId.getNameDeclaration() |
Modifier and Type | Method and Description |
---|---|
void |
ASTName.setNameDeclaration(NameDeclaration nd) |
void |
ASTVariableOrConstantDeclaratorId.setNameDeclaration(NameDeclaration decl) |
Modifier and Type | Method and Description |
---|---|
protected NameDeclaration |
SourceFileScope.findVariableHere(NameOccurrence occ) |
NameDeclaration |
ImageFinderFunction.getDecl() |
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
ClassScope.addNameOccurrence(NameOccurrence occ) |
Set<NameDeclaration> |
MethodScope.addNameOccurrence(NameOccurrence occ) |
Set<NameDeclaration> |
LocalScope.addNameOccurrence(NameOccurrence occ) |
protected Set<NameDeclaration> |
ClassScope.findVariableHere(PLSQLNameOccurrence occurrence) |
Set<NameDeclaration> |
MethodScope.findVariableHere(PLSQLNameOccurrence occurrence) |
Set<NameDeclaration> |
LocalScope.findVariableHere(PLSQLNameOccurrence occurrence) |
Set<NameDeclaration> |
Search.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
ClassScope.addDeclaration(NameDeclaration declaration) |
void |
MethodScope.addDeclaration(NameDeclaration declaration) |
void |
SourceFileScope.addDeclaration(NameDeclaration declaration)
Adds a new declaration to this scope.
|
void |
LocalScope.addDeclaration(NameDeclaration declaration) |
void |
ImageFinderFunction.applyTo(NameDeclaration nameDeclaration) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNameDeclaration
Base class for all name declarations.
|
Modifier and Type | Method and Description |
---|---|
<T extends NameDeclaration> |
Scope.getDeclarations(Class<T> clazz)
Helper method to get only a specific type of name declarations.
|
<T extends NameDeclaration> |
AbstractScope.getDeclarations(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
Scope.addNameOccurrence(NameOccurrence occurrence)
Adds a
NameOccurrence to this scope - only call this after getting
a true back from Scope.contains(NameOccurrence) . |
Set<NameDeclaration> |
AbstractScope.addNameOccurrence(NameOccurrence occurrence) |
Map<NameDeclaration,List<NameOccurrence>> |
Scope.getDeclarations()
Gets all the declaration with the occurrences in this scope.
|
Map<NameDeclaration,List<NameOccurrence>> |
AbstractScope.getDeclarations() |
Modifier and Type | Method and Description |
---|---|
void |
Scope.addDeclaration(NameDeclaration declaration)
Adds a new declaration to this scope.
|
void |
AbstractScope.addDeclaration(NameDeclaration declaration) |
Copyright © 2002–2016 InfoEther. All rights reserved.