Class LocalScope
- java.lang.Object
-
- net.sourceforge.pmd.lang.symboltable.AbstractScope
-
- net.sourceforge.pmd.lang.plsql.symboltable.LocalScope
-
- All Implemented Interfaces:
Scope
public class LocalScope extends AbstractScope
-
-
Constructor Summary
Constructors Constructor Description LocalScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDeclaration(NameDeclaration declaration)Set<NameDeclaration>addNameOccurrence(NameOccurrence occ)Set<NameDeclaration>findVariableHere(PLSQLNameOccurrence occurrence)Map<VariableNameDeclaration,List<NameOccurrence>>getVariableDeclarations()StringtoString()-
Methods inherited from class net.sourceforge.pmd.lang.symboltable.AbstractScope
contains, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
-
-
-
-
Method Detail
-
addNameOccurrence
public Set<NameDeclaration> addNameOccurrence(NameOccurrence occ)
- Specified by:
addNameOccurrencein interfaceScope- Overrides:
addNameOccurrencein classAbstractScope
-
getVariableDeclarations
public Map<VariableNameDeclaration,List<NameOccurrence>> getVariableDeclarations()
-
addDeclaration
public void addDeclaration(NameDeclaration declaration)
- Specified by:
addDeclarationin interfaceScope- Overrides:
addDeclarationin classAbstractScope
-
findVariableHere
public Set<NameDeclaration> findVariableHere(PLSQLNameOccurrence occurrence)
-
-