class SemanticAnalyser extends AnyRef
- 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
-
val
assignable: (Expression) ⇒ Boolean
Is the expression something that can be assigned to?
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
lazy val
defentity: (IdnDef) ⇒ Entity
The entity defined by a defining occurrence of an identifier.
The entity defined by a defining occurrence of an identifier. Defined by the context of the occurrence.
-
lazy val
defenv: Chain[ObrTree, SymbolTable.Environment]
The environment containing bindings for things that are being defined.
- def defenvin(in: (ObrTree) ⇒ SymbolTable.Environment): ==>[ObrTree, SymbolTable.Environment]
- def defenvout(out: (ObrTree) ⇒ SymbolTable.Environment): ==>[ObrTree, SymbolTable.Environment]
-
val
divideByZeroExn: Int
Pre-defined exception numbers
-
lazy val
entity: (IdnTree) ⇒ Entity
The program entity referred to by an identifier definition or use.
-
val
enttipe: (Entity) ⇒ Type
The type of an entity.
-
val
enumconstnum: (EnumConst) ⇒ Int
Attribute to consecutively number enumeration constants.
-
lazy val
env: (ObrTree) ⇒ SymbolTable.Environment
The environment to use to lookup names at a node.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
errors: (ObrTree) ⇒ Messages
The semantic error messages for a given tree.
-
val
exnconstnum: (Declaration) ⇒ Int
Attribute to consecutively number exception constants
-
val
exptipe: (Expression) ⇒ Set[TypeBase]
What is the expected type of an expression? I.e., what type does the context impose on it.
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.
-
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
- val indexOutOfBoundsExn: Int
-
val
initenv: SymbolTable.Environment
Initial environment, primed with bindings for pre-defined identifiers.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isassignable: (Entity) ⇒ Boolean
Is the entity assignable?
-
val
isconst: (Entity) ⇒ Boolean
Is an entity constant or not?
-
val
isinloop: (Statement) ⇒ Boolean
Is this statement inside a LOOP statement? Used to check that EXIT statements are placed appropriately.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tipe: (Expression) ⇒ Type
What is the type of an expression?
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val userExn: Int
-
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( ... )