org.kiama.example.minijava

SymbolTable

object SymbolTable extends Environments

Symbol table module containing facilities for creating and manipulating MiniJava language symbol information.

Source
SymbolTable.scala
Linear Supertypes
Environments, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SymbolTable
  2. Environments
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ArgumentEntity(decl: Argument) extends Entity with Product with Serializable

    An entity representing an argument to a method.

  2. case class ClassEntity(decl: Class) extends Entity with Product with Serializable

    A normal class entity (i.

  3. type Environment = List[Scope]

    Definition Classes
    Environments
  4. case class FieldEntity(decl: Field) extends Entity with Product with Serializable

    A instance variable (field) entity.

  5. case class MainClassEntity(decl: MainClass) extends Entity with Product with Serializable

    A main class entity (i.

  6. case class MethodEntity(decl: Method) extends Entity with Product with Serializable

    A method entity.

  7. trait Named extends AnyRef

    Definition Classes
    Environments
  8. trait NamedEntity extends Entity with Named

    Definition Classes
    Environments
  9. case class ReferenceType(decl: Class) extends Type with Product with Serializable

    A reference type given by the declared class body.

  10. type Scope = Map[String, Entity]

    Definition Classes
    Environments
  11. case class UnknownType() extends Type with Product with Serializable

    An unknown type, for example, one belonging to a name that is not declared but is used in an expression.

  12. case class VariableEntity(decl: Var) extends Entity with Product with Serializable

    A local variable entity.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def define(env: Environment, i: String, e: Entity): Environment

    Definition Classes
    Environments
  9. def enter(env: Environment): Environment

    Definition Classes
    Environments
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def isDefinedInEnv(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  16. def isDefinedInInner(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  17. def isDefinedInOuter(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  18. def isDefinedInScope(scope: Scope, i: String): Boolean

    Definition Classes
    Environments
  19. def isDefinedInScope(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def leave(env: Environment): Environment

    Definition Classes
    Environments
  22. def lookup(env: Environment, i: String, e: Entity, scope: Boolean): Entity

    Definition Classes
    Environments
  23. val nameCounter: Counter

    Definition Classes
    Environments
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def resetEnvironments(): Unit

    Definition Classes
    Environments
  28. def rootenv(bindings: (String, Entity)*): Environment

    Definition Classes
    Environments
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Environments

Inherited from AnyRef

Inherited from Any

Ungrouped