org.kiama.example.obr

SemanticAnalysis

object SemanticAnalysis

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

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. val assignable: (Expression) ⇒ Boolean

    Is the expression something that can be assigned to?

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def define(envin: Environment, i: Identifier, e: ⇒ Entity): Environment

    envin is an environment of bindings already seen.

    envin is an environment of bindings already seen. Add a binding of i to e and return the complete set of bindings, unless i already has a binding in envin, in which case define i to be a multiply-defined entity.

  10. val divideByZeroExn: Int

    Pre-defined exception numbers

  11. val entity: (EntityNode) ⇒ Entity

    The entity referred to by a declaration or a variable expression.

    The entity referred to by a declaration or a variable expression. If a name has been used previously in a declaration then return an unknown entity which will trigger an error.

  12. val enumconstnum: (EnumConst) ⇒ Int

    Attribute to consecutively number enumeration constants.

  13. val env: (ObrNode) ⇒ Environment

    The environment containing all bindings visible at a particular node in the tree, not including any that are defined at that node.

  14. val envout: (ObrNode) ⇒ Environment

    The environment containing all bindings visible "after" a particular node in the tree.

    The environment containing all bindings visible "after" a particular node in the tree. I.e., its the environment at the node plus any new bindings introduced by the node.

  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. val errors: (Attributable) ⇒ Unit

    Visit all nodes to check for semantic errors.

    Visit all nodes to check for semantic errors. Errors will be recorded using the Messaging module so that they can be reported to the user later.

  18. val exnconstnum: (Declaration) ⇒ Int

    Attribute to consecutively number exception constants

  19. val exptipe: (Expression) ⇒ Set[TypeBase]

    What is the expected type of an expression? I.

    What is the expected type of an expression? I.e., what type does the context impose on it. Returns UnknownType () if any type will do.

  20. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  23. val indexOutOfBoundsExn: Int

  24. val initEnv: Map[String, Constant]

    Initial environment, pre-primed with predeclared identifiers like DivideByZero

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. val isinloop: (Statement) ⇒ Boolean

    Is this statement inside a LOOP statement? Used to check that EXIT statements are placed appropriately.

  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. val tipe: (Expression) ⇒ Type

    What is the type of an expression?

  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. val userExn: Int

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped