org.kiama.example.obr

SymbolTable

object SymbolTable extends AnyRef

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SymbolTable
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayType (size: Int) extends Type with Product with Serializable

    An integer array type.

  2. case class Constant (tipe: Type, value: Int) extends Entity with Product with Serializable

    A constant integer entity with the given value.

  3. class Entity extends AnyRef

    An entity represents a thing that an expression language program can create and act on.

  4. case class EnumType (ident: Identifier) extends Type with Product with Serializable

    A named enumeration type.

  5. type Environment = Map[Identifier, Entity]

    An environment is a map from identifiers to entities.

    An environment is a map from identifiers to entities. I.e. the bindings are the entries in the map.

  6. case class RecordType (fields: List[Identifier]) extends Type with Product with Serializable

    A record type with the given fields.

  7. class Type extends TypeBase

    All genuine types know how much storage in bytes is needed to store a value of their type.

  8. class TypeBase extends AnyRef

    Superclasses of all type representations.

  9. case class Variable (tipe: Type) extends Entity with Product with Serializable

    A variable entity of the given type.

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. object BoolType extends Type with Product with Serializable

    The Boolean type.

  7. object EnumTypes extends TypeBase with Product with Serializable

    The following is not an actual type, but it is compatible with every enumeration type - and so is useful when type checking constructs which must take a value of an arbitrary enumeration type.

  8. object ExnType extends Type with Product with Serializable

    The exception type.

  9. object IntType extends Type with Product with Serializable

    The integer type.

  10. object Multiple extends Entity with Product with Serializable

    A singleton entity about which we know too much.

  11. object RecordTypes extends TypeBase with Product with Serializable

    The following is not an actual type, but it is compatible with every record type - and so is useful when type checking constructs which must take a value of an arbitrary record type.

  12. object Unknown extends Entity with Product with Serializable

    A singleton entity about which we know nothing.

  13. object UnknownType extends Type with Product with Serializable

    A type that we don't know anything about.

  14. val WORDSIZE : Int

    The size in bytes of a word used to store both integer and Boolean values.

  15. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  16. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def equals (arg0: Any): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. var prevloc : Int

    The most recent memory location allocated to a variable, or alternatively the size of memory minus one.

  27. def reset (): Unit

    Reset the symbol table.

  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any