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.

    An entity representing an argument to a method. The decl field gives us access back to the declaration from the entity.

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

    A normal class entity (i.e., all the non-main classes).

    A normal class entity (i.e., all the non-main classes). The decl field gives us access back to the declaration from the entity.

  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.

    A instance variable (field) entity. The decl field gives us access back to the declaration from the entity.

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

    A main class entity (i.e., the one that is used to start a program).

    A main class entity (i.e., the one that is used to start a program). The decl field gives us access back to the declaration from the entity.

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

    A method entity.

    A method entity. The decl field gives us access back to the declaration from the 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.

    A local variable entity. The decl field gives us access back to the declaration from the entity.

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Environments
  21. val nameCounter: Counter

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

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

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

    Definition Classes
    AnyRef
  25. def resetEnvironments(): Unit

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

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Environments

Inherited from AnyRef

Inherited from Any

Ungrouped