Package javassist.compiler
Class SymbolTable
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Declarator>
-
- javassist.compiler.SymbolTable
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Declarator>
public final class SymbolTable extends HashMap<String,Declarator>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description SymbolTable()
SymbolTable(SymbolTable p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(String name, Declarator value)
SymbolTable
getParent()
Declarator
lookup(String name)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
SymbolTable
public SymbolTable()
-
SymbolTable
public SymbolTable(SymbolTable p)
-
-
Method Detail
-
getParent
public SymbolTable getParent()
-
lookup
public Declarator lookup(String name)
-
append
public void append(String name, Declarator value)
-
-