public class SourceFileScope extends AbstractScope
Constructor and Description |
---|
SourceFileScope() |
SourceFileScope(String image) |
Modifier and Type | Method and Description |
---|---|
void |
addDeclaration(NameDeclaration declaration) |
protected NameDeclaration |
findVariableHere(NameOccurrence occ) |
String |
getPackageName() |
String |
toString() |
addNameOccurrence, contains, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
public SourceFileScope()
public SourceFileScope(String image)
public String getPackageName()
public void addDeclaration(NameDeclaration declaration)
addDeclaration
in interface Scope
addDeclaration
in class AbstractScope
IllegalArgumentException
- if declaration is not a ClassNameDeclaration
protected NameDeclaration findVariableHere(NameOccurrence occ)
Copyright © 2002-2015 InfoEther. All Rights Reserved.