Package javassist.compiler
Class SymbolTable
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,Declarator>
-
- javassist.compiler.SymbolTable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.String,Declarator>
public final class SymbolTable extends java.util.HashMap<java.lang.String,Declarator>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private SymbolTable
parent
private static long
serialVersionUID
default serialVersionUID
-
Constructor Summary
Constructors Constructor Description SymbolTable()
SymbolTable(SymbolTable p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(java.lang.String name, Declarator value)
SymbolTable
getParent()
Declarator
lookup(java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
default serialVersionUID- See Also:
- Constant Field Values
-
parent
private SymbolTable parent
-
-
Constructor Detail
-
SymbolTable
public SymbolTable()
-
SymbolTable
public SymbolTable(SymbolTable p)
-
-
Method Detail
-
getParent
public SymbolTable getParent()
-
lookup
public Declarator lookup(java.lang.String name)
-
append
public void append(java.lang.String name, Declarator value)
-
-