edu.vermontstate.mercury

Members list

Type members

Classlikes

An implementation of the Reporter trait that outputs messages to the console.

An implementation of the Reporter trait that outputs messages to the console.

Attributes

Supertypes
trait Reporter
class Object
trait Matchable
class Any

A simple implementation of the SymbolTable trait that stores symbols in in-memory maps.

A simple implementation of the SymbolTable trait that stores symbols in in-memory maps.

Attributes

Supertypes
trait SymbolTable
class Object
trait Matchable
class Any
class BodyGenerator(templateFolder: String, nameOfFile: String, nameOfModule: String, nameInResolver: String, symbolTable: BasicSymbolTable, out: PrintStream, reporter: Reporter) extends MXDRBaseVisitor[Void]

Attributes

Supertypes
class MXDRBaseVisitor[Void]
trait MXDRVisitor[Void]
class AbstractParseTreeVisitor[Void]
trait ParseTreeVisitor[Void]
class Object
trait Matchable
class Any
Show all
object Main

The main module of the program. It parses the command line, reads the input XDR file, and coordinates the work of the rest of the application.

The main module of the program. It parses the command line, reads the input XDR file, and coordinates the work of the rest of the application.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Main.type
trait Reporter

This trait describes the interface to error reporting objects. Different implementations report errors in different ways. By centralizing the way errors are reported, changes can be made to this important function without modifying the bulk of the compiler where errors are detected.

This trait describes the interface to error reporting objects. Different implementations report errors in different ways. By centralizing the way errors are reported, changes can be made to this important function without modifying the bulk of the compiler where errors are detected.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Reporter

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Reporter.type
class STPopulation(nameOfFile: String, symbolTable: BasicSymbolTable, reporter: Reporter) extends MXDRBaseVisitor[(String, Rep, String)]

Attributes

Supertypes
class MXDRBaseVisitor[(String, Rep, String)]
trait MXDRVisitor[(String, Rep, String)]
class AbstractParseTreeVisitor[(String, Rep, String)]
trait ParseTreeVisitor[(String, Rep, String)]
class Object
trait Matchable
class Any
Show all
class SemanticAnalyzer(nameOfFile: String, symbolTable: BasicSymbolTable, reporter: Reporter) extends MXDRBaseVisitor[(String, Rep)]

Attributes

Supertypes
class MXDRBaseVisitor[(String, Rep)]
trait MXDRVisitor[(String, Rep)]
class AbstractParseTreeVisitor[(String, Rep)]
trait ParseTreeVisitor[(String, Rep)]
class Object
trait Matchable
class Any
Show all
class SpecificationGenerator(templateFolder: String, nameOfFile: String, nameOfModule: String, nameInResolver: String, symbolTable: BasicSymbolTable, out: PrintStream, reporter: Reporter) extends MXDRBaseVisitor[Void]

Attributes

Supertypes
class MXDRBaseVisitor[Void]
trait MXDRVisitor[Void]
class AbstractParseTreeVisitor[Void]
trait ParseTreeVisitor[Void]
class Object
trait Matchable
class Any
Show all
trait SymbolTable

The interface to symbol tables.

The interface to symbol tables.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SymbolTable

Defines several exception classes used by all symbol table classes.

Defines several exception classes used by all symbol table classes.

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
object TypeRep

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
TypeRep.type