org.kiama.example.obr

SymbolTable

object SymbolTable

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. SymbolTable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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 BoolType() extends Type with Product with Serializable

    The Boolean type.

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

    A constant integer entity with the given value.

  4. abstract class Entity extends AnyRef

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

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

    A named enumeration type.

  6. case class 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.

  7. 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.

  8. case class ExnType() extends Type with Product with Serializable

    The exception type.

  9. case class IntType() extends Type with Product with Serializable

    The integer type.

  10. case class Multiple() extends Entity with Product with Serializable

    A singleton entity about which we know too much.

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

    A record type with the given fields.

  12. case class 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.

  13. abstract class Type extends TypeBase

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

  14. abstract class TypeBase extends AnyRef

    Superclasses of all type representations.

  15. case class Unknown() extends Entity with Product with Serializable

    A singleton entity about which we know nothing.

  16. case class UnknownType() extends Type with Product with Serializable

    A type that we don't know anything about.

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

    A variable entity of the given type.

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. val WORDSIZE: Int

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

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. var prevloc: Int

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

  19. def reset(): Unit

    Reset the symbol table.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped