public abstract class AbstractJavaScope extends AbstractScope
Constructor and Description |
---|
AbstractJavaScope() |
Modifier and Type | Method and Description |
---|---|
void |
addDeclaration(NameDeclaration declaration) |
protected void |
checkForDuplicatedNameDeclaration(NameDeclaration declaration) |
boolean |
contains(NameOccurrence occurrence) |
protected abstract Set<NameDeclaration> |
findVariableHere(JavaNameOccurrence occurrence) |
protected <T> String |
glomNames(Set<T> s) |
addNameOccurrence, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
public void addDeclaration(NameDeclaration declaration)
addDeclaration
in interface Scope
addDeclaration
in class AbstractScope
protected void checkForDuplicatedNameDeclaration(NameDeclaration declaration)
public boolean contains(NameOccurrence occurrence)
contains
in interface Scope
contains
in class AbstractScope
protected abstract Set<NameDeclaration> findVariableHere(JavaNameOccurrence occurrence)
Copyright © 2002-2015 InfoEther. All Rights Reserved.