jd.xml.xslt.parser
Class LocalVariableNames

java.lang.Object
  extended byjd.xml.xslt.parser.LocalVariableNames

class LocalVariableNames
extends Object

A helper class to manage variable declarations


Constructor Summary
(package private) LocalVariableNames()
           
 
Method Summary
 VariableName addName(String name, boolean isParameter)
          Add a VariableName with 0 import precedence.
 void begin(int paramCount)
           
 void beginLevel()
           
 void end()
          Empty again.
 void endLevel()
           
 VariableName getName(String name)
          Get a VariableName.
 int level()
           
 int size()
          Return the number of variable names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVariableNames

LocalVariableNames()
Method Detail

getName

public VariableName getName(String name)
Get a VariableName.

Parameters:
name - the name
Returns:
the VariableName or null if no such name is defined

addName

public VariableName addName(String name,
                            boolean isParameter)
Add a VariableName with 0 import precedence.

Parameters:
name - the name
Returns:
the VariableName or null if such a name is already defined

size

public int size()
Return the number of variable names.


level

public int level()

begin

public void begin(int paramCount)

beginLevel

public void beginLevel()

endLevel

public void endLevel()

end

public void end()
Empty again.