class SymbolTable[K <: SBKey] extends AnyRef
A thread-safe symbol table that can represent multiple types per symbol. Each node in an AST gets converted to an SBKey which gives contextual information to identify an AST entity. Each value in this table represents a set of types that the key could be in a flow-insensitive manner.
The SymbolTable operates like a map with a few convenient methods that are designed for this structure's purpose.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SymbolTable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SymbolTable(keyFromNode: (AstNode) => Option[K])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def append(sbKey: K, typeFullNames: Set[String]): Set[String]
- def append(node: AstNode, typeFullNames: Set[String]): Set[String]
- def append(node: AstNode, typeFullName: String): Set[String]
- def apply(node: AstNode): Set[String]
- def apply(sbKey: K): Set[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contains(node: AstNode): Boolean
- def contains(sbKey: K): Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def from(sb: IterableOnce[(K, Set[String])]): SymbolTable[K]
- def get(node: AstNode): Set[String]
- def get(sbKey: K): Set[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyFromNode: (AstNode) => Option[K]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def put(node: AstNode, typeFullNames: Set[String]): Set[String]
- def put(sbKey: K, typeFullName: String): Set[String]
- def put(sbKey: K, typeFullNames: Set[String]): Set[String]
- def replaceWith(oldKey: K, newKey: K, newValues: Set[String]): Option[Set[String]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def view: MapView[K, Set[String]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated