public class MethodScope extends AbstractScope
Constructor and Description |
---|
MethodScope(Node node) |
Modifier and Type | Method and Description |
---|---|
void |
addDeclaration(NameDeclaration declaration) |
NameDeclaration |
addNameOccurrence(NameOccurrence occ) |
NameDeclaration |
findVariableHere(PLSQLNameOccurrence occurrence) |
MethodScope |
getEnclosingMethodScope() |
String |
getName() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
getVariableDeclarations() |
String |
toString() |
contains, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
public MethodScope(Node node)
public MethodScope getEnclosingMethodScope()
public Map<VariableNameDeclaration,List<NameOccurrence>> getVariableDeclarations()
public NameDeclaration addNameOccurrence(NameOccurrence occ)
addNameOccurrence
in interface Scope
addNameOccurrence
in class AbstractScope
public void addDeclaration(NameDeclaration declaration)
addDeclaration
in interface Scope
addDeclaration
in class AbstractScope
public NameDeclaration findVariableHere(PLSQLNameOccurrence occurrence)
public String getName()
Copyright © 2002-2014 InfoEther. All Rights Reserved.