public class LocalScope extends AbstractJavaScope
| Constructor and Description |
|---|
LocalScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeclaration(NameDeclaration nameDecl) |
NameDeclaration |
addNameOccurrence(NameOccurrence occurrence) |
NameDeclaration |
findVariableHere(JavaNameOccurrence occurrence) |
Map<VariableNameDeclaration,List<NameOccurrence>> |
getVariableDeclarations() |
String |
toString() |
checkForDuplicatedNameDeclaration, contains, glomNamesgetDeclarations, getDeclarations, getEnclosingScope, getParent, setParentpublic Map<VariableNameDeclaration,List<NameOccurrence>> getVariableDeclarations()
public NameDeclaration addNameOccurrence(NameOccurrence occurrence)
addNameOccurrence in interface ScopeaddNameOccurrence in class AbstractScopepublic void addDeclaration(NameDeclaration nameDecl)
addDeclaration in interface ScopeaddDeclaration in class AbstractJavaScopepublic NameDeclaration findVariableHere(JavaNameOccurrence occurrence)
findVariableHere in class AbstractJavaScopeCopyright © 2002–2016 InfoEther. All rights reserved.