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
- Alphabetic
- By Inheritance
- SemanticAnalyser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SemanticAnalyser()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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.
- lazy val eval_top: ((Seq[String], String, Seq[Exp])) ⇒ (ExpR) ⇒ Stacks
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- lazy val op_tree: (ExpR) ⇒ Exp
- lazy val ops: (ExpR) ⇒ Stacks
- lazy val prio: (String) ⇒ (TransformTree) ⇒ Int
- lazy val prioenv: (Program) ⇒ Map[String, Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )