net.sourceforge.pmd.symboltable
Class LocalScope

java.lang.Object
  |
  +--net.sourceforge.pmd.symboltable.AbstractScope
        |
        +--net.sourceforge.pmd.symboltable.LocalScope
All Implemented Interfaces:
Scope

public class LocalScope
extends AbstractScope


Field Summary
 
Fields inherited from class net.sourceforge.pmd.symboltable.AbstractScope
methodNames, variableNames
 
Constructor Summary
LocalScope()
           
 
Method Summary
 void addDeclaration(VariableNameDeclaration nameDecl)
          Add a variable declaration to this scope
protected  NameDeclaration findVariableHere(NameOccurrence occurrence)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sourceforge.pmd.symboltable.AbstractScope
addDeclaration, addVariableNameOccurrence, contains, getEnclosingClassScope, getParent, getVariableDeclarations, glomNames, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalScope

public LocalScope()
Method Detail

addDeclaration

public void addDeclaration(VariableNameDeclaration nameDecl)
Description copied from interface: Scope
Add a variable declaration to this scope

Specified by:
addDeclaration in interface Scope
Overrides:
addDeclaration in class AbstractScope

findVariableHere

protected NameDeclaration findVariableHere(NameOccurrence occurrence)
Specified by:
findVariableHere in class AbstractScope

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2003 Project Ultra*Log @ DARPA. All Rights Reserved.