Packages

c

org.kiama.example.transform

SemanticAnalyser

class SemanticAnalyser extends AnyRef

Operator priority resolution and name analysis for transformation compiler. Transform the generic operator tree from the parser into one that correctly represents the precedence of the operators. Operators are assumed to be left associative.

Source
SemanticAnalyser.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SemanticAnalyser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SemanticAnalyser()

Type Members

  1. type Stacks = (Seq[String], Seq[Exp])

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. implicit val ast: (ExpR) ⇒ Exp

    Version of op_tree that splices the new tree into the old.

    Version of op_tree that splices the new tree into the old. Available as an implicit so that Exp attributes called on ExpR are forwarded to op_tree.

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. lazy val errors: (TransformTree) ⇒ Messages

    Report errors in an expression.

    Report errors in an expression. Currently only variables that are used but not declared. Multiple declarations of the same variable are ok.

  10. lazy val eval_top: ((Seq[String], String, Seq[Exp])) ⇒ (ExpR) ⇒ Stacks
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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. lazy val lookup: (String) ⇒ (TransformTree) ⇒ Option[VarDecl]

    Lookup a name at a particular node, returning a Some value containing the associated declaration or None if there no such declaration.

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. lazy val op_tree: (ExpR) ⇒ Exp
  20. lazy val ops: (ExpR) ⇒ Stacks
  21. lazy val prio: (String) ⇒ (TransformTree) ⇒ Int
  22. lazy val prioenv: (Program) ⇒ Map[String, Int]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped