org.kiama.example.oberon0.drivers

A3Tests

class A3Tests extends A3Phases with TestDriver

Source
A3Tests.scala
Linear Supertypes
TestDriver, TestCompilerWithConfig[ModuleDecl, Oberon0Config], FunSuiteLike, Documenting, Alerting, Notifying, Informing, Suite, Serializable, AbstractSuite, Assertions, TripleEquals, TripleEqualsSupport, A3Phases, Desugarer, Desugarer, Lifter, Transformer, TypeAnalyser, TypeAnalyser, TypeAnalyser, TypeAnalyser, NameAnalyser, SymbolTable, NameAnalyser, NameAnalyser, SymbolTable, SymbolTable, Environments, Analyser, PrettyPrinter, PrettyPrinter, PrettyPrinter, PrettyPrinter, PrettyPrinter, SourcePrettyPrinter, ParenPrettyPrinter, L3.Parser, L2.Parser, L1.Parser, L0.Parser, base.Parser, WhitespacePositionedParserUtilities, PositionedParserUtilities, WhitespaceParser, ParserUtilities, PackratParsers, TransformingDriver, FrontEndDriver, CompilerWithConfig[ModuleDecl, Oberon0Config], RegexParsers, Parsers, CompilerBase[ModuleDecl, Oberon0Config], Profiler, Profiler, Values, Driver, PrettyPrinter, PrettyPrinterBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. A3Tests
  2. TestDriver
  3. TestCompilerWithConfig
  4. FunSuiteLike
  5. Documenting
  6. Alerting
  7. Notifying
  8. Informing
  9. Suite
  10. Serializable
  11. AbstractSuite
  12. Assertions
  13. TripleEquals
  14. TripleEqualsSupport
  15. A3Phases
  16. Desugarer
  17. Desugarer
  18. Lifter
  19. Transformer
  20. TypeAnalyser
  21. TypeAnalyser
  22. TypeAnalyser
  23. TypeAnalyser
  24. NameAnalyser
  25. SymbolTable
  26. NameAnalyser
  27. NameAnalyser
  28. SymbolTable
  29. SymbolTable
  30. Environments
  31. Analyser
  32. PrettyPrinter
  33. PrettyPrinter
  34. PrettyPrinter
  35. PrettyPrinter
  36. PrettyPrinter
  37. SourcePrettyPrinter
  38. ParenPrettyPrinter
  39. Parser
  40. Parser
  41. Parser
  42. Parser
  43. Parser
  44. WhitespacePositionedParserUtilities
  45. PositionedParserUtilities
  46. WhitespaceParser
  47. ParserUtilities
  48. PackratParsers
  49. TransformingDriver
  50. FrontEndDriver
  51. CompilerWithConfig
  52. RegexParsers
  53. Parsers
  54. CompilerBase
  55. Profiler
  56. Profiler
  57. Values
  58. Driver
  59. PrettyPrinter
  60. PrettyPrinterBase
  61. AnyRef
  62. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new A3Tests()

Type Members

  1. class AssertionsHelper extends AnyRef

    Definition Classes
    Assertions
  2. trait Builtin extends Named

    Marker trait for all built-in entities.

  3. case class BuiltinProc(ident: String, params: Seq[ParamInfo]) extends Entity with NamedEntity with Builtin with Product with Serializable

    A built-in procedure with its parameter information.

  4. case class BuiltinType(ident: String) extends Type with Named with Builtin with Product with Serializable

    A built-in type with an implicit definition that the compiler must have special knowledge about.

  5. class CheckingEqualizer[L] extends AnyRef

    Definition Classes
    TripleEqualsSupport
  6. case class Child extends Step with Product with Serializable

    Definition Classes
    Profiler
  7. case class Constant(ident: String, decl: ConstDecl) extends Entity with NamedEntity with Product with Serializable

    A user-defined constant entity represented by a constant declaration.

  8. case class Dep extends Product with Serializable

    Definition Classes
    Profiler
  9. class Doc extends ((output.PrettyPrinter.Indent, output.PrettyPrinter.Width)) ⇒ ((Int, Queue[(Int, (Boolean) ⇒ ((Int) ⇒ Trampoline[Seq[String]]) ⇒ Trampoline[(Int) ⇒ Trampoline[Seq[String]]])]) ⇒ Trampoline[(Int) ⇒ Trampoline[Seq[String]]]) ⇒ Trampoline[(Int, Queue[(Int, (Boolean) ⇒ ((Int) ⇒ Trampoline[Seq[String]]) ⇒ Trampoline[(Int) ⇒ Trampoline[Seq[String]]])]) ⇒ Trampoline[(Int) ⇒ Trampoline[Seq[String]]]] with output.PrettyPrinter.DocOps

    Definition Classes
    PrettyPrinter
  10. trait DocOps extends AnyRef

    Definition Classes
    PrettyPrinterBase
  11. type Elem = Char

    Definition Classes
    RegexParsers → Parsers
  12. abstract class Entity extends AnyRef

    Definition Classes
    Environments
  13. type Environment = Stack[Scope]

    Definition Classes
    Environments
  14. class Equalizer[L] extends AnyRef

    Definition Classes
    TripleEqualsSupport
  15. case class Error extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  16. trait ErrorEntity extends Entity

    Definition Classes
    Environments
  17. case class Failure extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  18. type Indent = Int

    Definition Classes
    PrettyPrinterBase
  19. type Input = Reader[Elem]

    Definition Classes
    Parsers
  20. case class IntegerValue(ident: String, tipe: Type, value: Int) extends Entity with NamedEntity with Builtin with Product with Serializable

    A built-in value of some type that is represented by a particular integer value.

  21. type Layout = String

    Definition Classes
    PrettyPrinterBase
  22. class LegacyCheckingEqualizer[L] extends AnyRef

    Definition Classes
    TripleEqualsSupport
  23. class LegacyEqualizer[L] extends AnyRef

    Definition Classes
    TripleEqualsSupport
  24. case class Module(ident: String, decl: ModuleDecl) extends Entity with NamedEntity with Product with Serializable

    A user-defined module represented by a module declaration.

  25. case class MultipleEntity extends Entity with ErrorEntity with Product with Serializable

    Definition Classes
    Environments
  26. trait Named extends AnyRef

    Definition Classes
    Environments
  27. trait NamedEntity extends Entity with Named

    Definition Classes
    Environments
  28. trait NoArgTest extends () ⇒ Outcome with TestData

    Attributes
    protected
    Definition Classes
    Suite
  29. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Definition Classes
    Parsers
  30. trait OnceParser[+T] extends Parser[T]

    Definition Classes
    Parsers
  31. abstract class PackratParser[+T] extends scala.util.parsing.combinator.PackratParsers.Parser[T]

    Definition Classes
    PackratParsers
  32. class PackratReader[+T] extends Reader[T]

    Definition Classes
    PackratParsers
  33. case class ParamInfo(mode: Mode, ident: String, tipe: SymbolTable.Type) extends Product with Serializable

    Information about a particular parameter.

  34. case class Parameter(mode: Mode, varr: SymbolTable.Variable) extends Entity with NamedEntity with Product with Serializable

    A parameter is a variable augmented with a passing mode.

  35. sealed abstract class ParseResult[+T] extends AnyRef

    Definition Classes
    Parsers
  36. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]

    Definition Classes
    Parsers
  37. trait PrettyPrintable extends AnyRef

    Definition Classes
    PrettyPrinterBase
  38. case class Procedure(ident: String, decl: ProcDecl) extends Entity with NamedEntity with Product with Serializable

    A procedure entity represented by a procedure declaration.

  39. case class Record extends Product with Serializable

    Definition Classes
    Values
  40. type Scope = Map[String, Entity]

    Definition Classes
    Environments
  41. abstract class Step extends AnyRef

    Definition Classes
    Profiler
  42. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Definition Classes
    Parsers
  43. abstract class Type extends Entity

    An entity representing by a user-provided type declaration.

  44. case class UnknownEntity extends Entity with ErrorEntity with Product with Serializable

    Definition Classes
    Environments
  45. case class UserType(ident: String, tipe: TypeDecl) extends Type with Named with Product with Serializable

    A user-defined type.

  46. case class Variable(ident: String, tipe: TypeDef) extends Entity with NamedEntity with Product with Serializable

    A variable entity including a reference to its types' definition.

  47. type Width = Int

    Definition Classes
    PrettyPrinterBase
  48. case class ~[+a, +b] extends Product with Serializable

    Definition Classes
    Parsers

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]

    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]

    Definition Classes
    TripleEqualsSupport
  5. final def ##(): Int

    Definition Classes
    AnyRef → Any
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  7. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Definition Classes
    TripleEqualsSupport
  8. def ===(right: Null): TripleEqualsInvocation[Null]

    Definition Classes
    TripleEqualsSupport
  9. def ===[T](right: T): TripleEqualsInvocation[T]

    Definition Classes
    TripleEqualsSupport
  10. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Definition Classes
    PositionedParserUtilities → Parsers
  11. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Definition Classes
    PositionedParserUtilities → Parsers
  12. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  13. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  14. implicit def accept(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  15. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Definition Classes
    Parsers
  16. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  17. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  18. def alert: Alerter

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Alerting
  19. def ampersand: Doc

    Definition Classes
    PrettyPrinterBase
  20. def angles(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  21. def any: PackratParser[Char]

    Definition Classes
    ParserUtilities
  22. def any(a: Any): Doc

    Definition Classes
    PrettyPrinterBase
  23. implicit def anyToPrettyPrintable(a: Any): PrettyPrintable

    Definition Classes
    PrettyPrinterBase
  24. def artefact: String

    The name of this artefact.

    The name of this artefact.

    Definition Classes
    A3PhasesDriver
  25. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  26. macro def assert(condition: Boolean, clue: Any): Unit

    Definition Classes
    Assertions
  27. macro def assert(condition: Boolean): Unit

    Definition Classes
    Assertions
  28. def assertResult(expected: Any)(actual: Any): Unit

    Definition Classes
    Assertions
  29. def assertResult(expected: Any, clue: Any)(actual: Any): Unit

    Definition Classes
    Assertions
  30. macro def assertTypeError(code: String): Unit

    Definition Classes
    Assertions
  31. val assertionsHelper: AssertionsHelper

    Definition Classes
    Assertions
  32. lazy val assignment: Parser[Assignment]

    Definition Classes
    Parser
  33. macro def assume(condition: Boolean, clue: Any): Unit

    Definition Classes
    Assertions
  34. macro def assume(condition: Boolean): Unit

    Definition Classes
    Assertions
  35. def asterisk: Doc

    Definition Classes
    PrettyPrinterBase
  36. def atsign: Doc

    Definition Classes
    PrettyPrinterBase
  37. def backquote: Doc

    Definition Classes
    PrettyPrinterBase
  38. def backslash: Doc

    Definition Classes
    PrettyPrinterBase
  39. lazy val basetype: (Expression) ⇒ Type

    The actual type of an expression following type aliases.

    The actual type of an expression following type aliases.

    Definition Classes
    TypeAnalyser
  40. lazy val block: Parser[Block]

    Definition Classes
    Parser
  41. def blockToDoc(b: Block, beginend: Boolean = false): Doc

    Pretty-print a block, omitting the BEGIN if there are no statements.

    Pretty-print a block, omitting the BEGIN if there are no statements. Add the possibility of declarations to the previous level.

    Definition Classes
    PrettyPrinterPrettyPrinter
  42. lazy val booleanType: BuiltinType

    Built-in Boolean type.

    Built-in Boolean type.

    Definition Classes
    SymbolTable
  43. def braces(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  44. def bracket(inner: PrettyOperatorExpression, outer: PrettyOperatorExpression, side: Side): Doc

    Definition Classes
    ParenPrettyPrinter
  45. def brackets(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  46. def cancel(cause: Throwable): Nothing

    Definition Classes
    Assertions
  47. def cancel(message: String, cause: Throwable): Nothing

    Definition Classes
    Assertions
  48. def cancel(message: String): Nothing

    Definition Classes
    Assertions
  49. def cancel(): Nothing

    Definition Classes
    Assertions
  50. def caret: Doc

    Definition Classes
    PrettyPrinterBase
  51. lazy val caseStatement: Parser[CaseStatement]

    Definition Classes
    Parser
  52. def caseToDoc(s: CaseStatement): Doc

    Definition Classes
    PrettyPrinter
  53. lazy val cases: Parser[List[Case]]

    Definition Classes
    Parser
  54. def casesToDoc(l: Seq[Case]): Doc

    Definition Classes
    PrettyPrinter
  55. def casesToIf(ce: IdnExp, cases: Seq[Case], optelse: Option[Block]): IfStatement

    Return an IF cascade equivaleant to the given cases and optional else block.

    Return an IF cascade equivaleant to the given cases and optional else block. The variable ce holds the selection value. Specifically, these cases on ce CASE e1 : s1 CASE e2 .. e3 : s2 ELSE s3 are transformed into IF ce = e1 THEN s1 ELSEIF (ce >= e2) & (ce <= e3) THEN s2 ELSE 32 END If a case has more than one condition then they are combined with Or operators.

    Definition Classes
    Desugarer
  56. def cat(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  57. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  58. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  59. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Definition Classes
    Parsers
  60. implicit def char(c: Char): Doc

    Definition Classes
    PrettyPrinterBase
  61. def check(n: SourceASTNode): Unit

    Check an AST node for semantic errors.

    Check an AST node for semantic errors. Report any errors using the messaging module. This default implementation just ask the node's children to check themselves.

    Definition Classes
    TypeAnalyserNameAnalyserTypeAnalyserTypeAnalyserNameAnalyserAnalyser
  62. def checkFor(record: Record, dim: Dimension, eventtype: String, needed: Dimension)(f: (Value) ⇒ Value): Value

    Definition Classes
    Values
  63. def checkNonLocalVarAccess(u: IdnUse): Unit

    Check for non-local variable and procedure accesses.

    Check for non-local variable and procedure accesses. In the L3 language non-local variable accesses are disallowed, unless they are to a variable at the top level. Non-local procedure accesses are just disallowed.

    Definition Classes
    NameAnalyser
  64. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def colon: Doc

    Definition Classes
    PrettyPrinterBase
  66. def comma: Doc

    Definition Classes
    PrettyPrinterBase
  67. lazy val comment: PackratParser[Any]

    Definition Classes
    Parser
  68. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  69. lazy val condition: Parser[Condition with Serializable]

    Definition Classes
    Parser
  70. lazy val conditions: Parser[List[Condition with Serializable]]

    Definition Classes
    Parser
  71. implicit def constToTupleFunction2[A, B, R](r: (A, B) ⇒ R): (~[A, B]) ⇒ R

    Definition Classes
    ParserUtilities
  72. implicit def constToTupleFunction3[A, B, C, R](r: (A, B, C) ⇒ R): (~[~[A, B], C]) ⇒ R

    Definition Classes
    ParserUtilities
  73. implicit def constToTupleFunction4[A, B, C, D, R](r: (A, B, C, D) ⇒ R): (~[~[~[A, B], C], D]) ⇒ R

    Definition Classes
    ParserUtilities
  74. implicit def constToTupleFunction5[A, B, C, D, E, R](r: (A, B, C, D, E) ⇒ R): (~[~[~[~[A, B], C], D], E]) ⇒ R

    Definition Classes
    ParserUtilities
  75. implicit def constToTupleFunction6[A, B, C, D, E, F, R](r: (A, B, C, D, E, F) ⇒ R): (~[~[~[~[~[A, B], C], D], E], F]) ⇒ R

    Definition Classes
    ParserUtilities
  76. lazy val constdecl: Parser[ConstDecl]

    Definition Classes
    Parser
  77. lazy val constdeclsection: Parser[List[ConstDecl]]

    Definition Classes
    Parser
  78. lazy val constrainedInt: PackratParser[Int]

    Definition Classes
    ParserUtilities
  79. def consumeast(ast: ModuleDecl, config: Oberon0Config): Unit

    Consume the AST.

    Consume the AST. For example, translate it to something else. By default, do nothing.

    Definition Classes
    FrontEndDriver
  80. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  81. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  82. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  83. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  84. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  85. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  86. implicit def convertToEqualizer[T](left: T): Equalizer[T]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  87. def convertToLegacyCheckingEqualizer[T](left: T): LegacyCheckingEqualizer[T]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  88. def convertToLegacyEqualizer[T](left: T): LegacyEqualizer[T]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  89. def createConfig(args: Seq[String], emitter: Emitter = new Emitter): Oberon0Config

    In the test configuration we pretty print the source and C ASTs by default.

    In the test configuration we pretty print the source and C ASTs by default.

    Definition Classes
    TestDriver
  90. lazy val declarations: PackratParser[Seq[Declaration]]

    Definition Classes
    Parser
  91. def declarationsDef: PackratParser[Seq[Declaration]]

    Definition Classes
    ParserParserParser
  92. def declsToDoc(ds: Seq[Declaration]): Doc

    Definition Classes
    PrettyPrinter
  93. def declsection(d: Declaration): String

    Definition Classes
    PrettyPrinterPrettyPrinter
  94. lazy val decltype: (TypeDecl) ⇒ Type

    The built-in type associated with a type declaration.

    The built-in type associated with a type declaration.

    Definition Classes
    TypeAnalyser
  95. def defaultEquality[A]: Equality[A]

    Definition Classes
    TripleEqualsSupport
  96. val defaultIndent: Int

    Definition Classes
    PrettyPrinterBase
  97. val defaultWidth: Int

    Definition Classes
    PrettyPrinterBase
  98. def defenv: Environment

    The default environment.

    The default environment.

    Definition Classes
    SymbolTable
  99. def defenvPairs: Seq[(String, Entity)]

    The default environment with pre-defined procedures added.

    The default environment with pre-defined procedures added.

    Definition Classes
    SymbolTableSymbolTable
  100. def define(env: Environment, i: String, e: Entity): Environment

    Definition Classes
    Environments
  101. lazy val deftype: (TypeDef) ⇒ Type

    The type given by a type definition.

    The type given by a type definition.

    Definition Classes
    TypeAnalyser
  102. def deftypeDef: (TypeDef) ⇒ Type

    Definition Classes
    TypeAnalyser
  103. lazy val desugarCase: Strategy

    Desugar CASE statements into equivalent blocks containing cascading IF statements.

    Desugar CASE statements into equivalent blocks containing cascading IF statements. A new variable called "casevar" is introduced in the block to hold the selection value so that it does not need to be re-evaluated. Specifically, CASE e OF cases END is transformed into VAR caseval : INTEGER; BEGIN caseval := e; IF caseval ... THEN ... END END

    Definition Classes
    Desugarer
  104. lazy val desugarFor: Strategy

    Desugar FOR statements into equivalent blocks containing a WHILE loop.

    Desugar FOR statements into equivalent blocks containing a WHILE loop. A new variable called "limit" is introduced in the block to hold the upper limit of the FOR to protect against changes in the body. Specifically, FOR id := e1 TO e2 BY e3 DO body END is transformed into VAR limit : INTEGER; BEGIN id := e1; limit := e2; WHILE (id op limit) DO body id := id + e3 END END If e3 is negative, op is <=, otherwise it is >=.

    Definition Classes
    Desugarer
  105. def dimValue(record: Record, dim: Dimension): Value

    Definition Classes
    Profiler → Profiler → Values
  106. def dollar: Doc

    Definition Classes
    PrettyPrinterBase
  107. def dosanitisation: Boolean

    Flag to decide whether to sanitise the output before comparison of test results with expected results (see sanitise method).

    Flag to decide whether to sanitise the output before comparison of test results with expected results (see sanitise method). Default is true; override with false if you want actual results compared.

    Definition Classes
    TestCompilerWithConfig
  108. def dot: Doc

    Definition Classes
    PrettyPrinterBase
  109. def dquote: Doc

    Definition Classes
    PrettyPrinterBase
  110. def dquotes(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  111. def driver(args: Seq[String]): Unit

    Definition Classes
    CompilerBase
  112. def elem(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  113. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Definition Classes
    Parsers
  114. lazy val elsif: PackratParser[(Expression, Block)]

    Definition Classes
    Parser
  115. lazy val elsifs: Parser[List[(Expression, Block)]]

    Definition Classes
    Parser
  116. def empty: Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  117. def enclose(l: Doc, d: Doc, r: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  118. def encoding: String

    Definition Classes
    CompilerBase
  119. def enter(env: Environment): Environment

    Definition Classes
    Environments
  120. lazy val entity: (Identifier) ⇒ Entity

    The program entity referred to by an identifier definition or use.

    The program entity referred to by an identifier definition or use. In the case of a definition it's the thing being defined, so define it to be a reference to the declaration. If it's already defined, return a entity that indicates a multiple definition. In the case of a use, it's the thing defined elsewhere that is being referred to here, so look it up in the environment.

    Definition Classes
    NameAnalyser
  121. def entityFromDecl(n: IdnDef, i: String): Entity

    The entity for an identifier definition as given by its declaration context.

    The entity for an identifier definition as given by its declaration context.

    Definition Classes
    NameAnalyserNameAnalyser
  122. lazy val env: Chain[SourceASTNode, Environment]

    The environment containing bindings for all identifiers visible at the given node.

    The environment containing bindings for all identifiers visible at the given node. It starts at the module declaration with the default environment. At blocks we enter a nested scope which is removed on exit from the block. At constant and type declarations the left-hand side binding is not in scope on the right-hand side. Each identifier definition just adds its binding to the chain. The envout cases for assignment and expression mean that we don't need to traverse into those constructs, since declarations can't occur there.

    Definition Classes
    NameAnalyser
  123. def envin(in: (SourceASTNode) ⇒ Environment): ==>[SourceASTNode, Environment]

    Definition Classes
    NameAnalyserNameAnalyser
  124. def envinl(in: (SourceASTNode) ⇒ Environment): ==>[SourceASTNode, Environment]

    Blocks that are immediately inside procedure decls do not introduce new scopes since the procedure itself does.

    Blocks that are immediately inside procedure decls do not introduce new scopes since the procedure itself does. This computation overrides the one earlier that pushes a scope for all blocks. Don't include the procedure name in the scope of its own body.

    Definition Classes
    NameAnalyser
  125. def envout(out: (SourceASTNode) ⇒ Environment): ==>[SourceASTNode, Environment]

    Definition Classes
    NameAnalyserNameAnalyser
  126. def envoutl(out: (SourceASTNode) ⇒ Environment): ==>[SourceASTNode, Environment]

    Similarly for envin we don't need to leave a scope for a procedure block, since we didn't enter one.

    Similarly for envin we don't need to leave a scope for a procedure block, since we didn't enter one. The IdnDef that is for a ProcDecl needs to be in the outer scope, but not in the scope of its own body. All arguments and local declarations go in the nested scope.

    Definition Classes
    NameAnalyser
  127. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  128. def equal: Doc

    Definition Classes
    PrettyPrinterBase
  129. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  130. def err(msg: String): Parser[Nothing]

    Definition Classes
    ParserUtilities → Parsers
  131. def exclamation: Doc

    Definition Classes
    PrettyPrinterBase
  132. final def execute: Unit

    Definition Classes
    Suite
  133. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit

    Definition Classes
    Suite
  134. lazy val expconst: (Expression) ⇒ Boolean

    Is an expression expected to be constant or not? Either the expression is the root of an expected constant expression or its parent expression is expected to be constant.

    Is an expression expected to be constant or not? Either the expression is the root of an expected constant expression or its parent expression is expected to be constant.

    Definition Classes
    NameAnalyser
  135. def expectedTestCount(filter: Filter): Int

    Definition Classes
    Suite → AbstractSuite
  136. lazy val expression: Parser[Expression]

    Definition Classes
    Parser
  137. lazy val exptype: (Expression) ⇒ Type

    The type expected of an expression as defined by its context.

    The type expected of an expression as defined by its context.

    Definition Classes
    TypeAnalyser
  138. def exptypeDef: (Expression) ⇒ Type

    The expected type of a parameter to a call is the type of the parameter at that position.

    The expected type of a parameter to a call is the type of the parameter at that position.

    Definition Classes
    TypeAnalyserTypeAnalyserTypeAnalyserTypeAnalyser
  139. lazy val factor: PackratParser[Expression]

    Definition Classes
    Parser
  140. def fail(cause: Throwable): Nothing

    Definition Classes
    Assertions
  141. def fail(message: String, cause: Throwable): Nothing

    Definition Classes
    Assertions
  142. def fail(message: String): Nothing

    Definition Classes
    Assertions
  143. def fail(): Nothing

    Definition Classes
    Assertions
  144. def failure(msg: String): Parser[Nothing]

    Definition Classes
    ParserUtilities → Parsers
  145. lazy val falseConstant: IntegerValue

    Built-in false constant.

    Built-in false constant.

    Definition Classes
    SymbolTable
  146. def filetests(name: String, path: String, srcext: String, resext: String, optinext: Option[String] = None, indefault: String = "", argslist: Seq[Seq[String]] = Seq (Seq ())): Unit

    Make tests that process the files in path.

    Make tests that process the files in path. name is an identifying name for this set of tests. All files whose names end in srcext are processed. Processing is done by the function compile which must return either Some (s) where s is the output or None if processing failed. If srcext is .x and resext is .y, then the expected result for foo.x is found in file foo.y. If optinext is Some (z), then foo.z is used for standard input, if it exists, otherwise the string indefault is used. A test fails if either the processing fails or it succeeds with the wrong result. argslist is used to specify the sets of command-line arguments that you want to use. Each test is run with each set of arguments. The default is an empty argument list.

    Definition Classes
    TestCompilerWithConfig
  147. def fillcat(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  148. def fillsep(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  149. def fillsep(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  150. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  151. def finishReport(): Unit

    Definition Classes
    Values
  152. def folddoc(ds: Seq[Doc], f: (Doc, Doc) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinterBase
  153. lazy val forStatement: Parser[ForStatement]

    Definition Classes
    Parser
  154. def forToDoc(s: ForStatement): Doc

    Definition Classes
    PrettyPrinter
  155. lazy val forVar: Parser[IdnExp]

    Definition Classes
    Parser
  156. def forwslash: Doc

    Definition Classes
    PrettyPrinterBase
  157. lazy val fpsection: Parser[FPSection]

    Definition Classes
    Parser
  158. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  159. def group(d: Doc): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  160. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  161. def handleWhiteSpace(in: Input): Int

    Definition Classes
    WhitespacePositionedParserUtilities → ParserUtilities
  162. def handleWhiteSpace(source: CharSequence, offset: Int): Int

    Attributes
    protected
    Definition Classes
    RegexParsers
  163. def hash: Doc

    Definition Classes
    PrettyPrinterBase
  164. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  165. def hcat(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  166. def hsep(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  167. def hsep(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  168. lazy val ident: Parser[String]

    Definition Classes
    Parser
  169. def idlistToDoc(ids: Seq[IdnDef]): Doc

    Definition Classes
    PrettyPrinter
  170. lazy val idndef: Parser[IdnDef]

    Definition Classes
    Parser
  171. lazy val idndeflist: Parser[List[IdnDef]]

    Definition Classes
    Parser
  172. lazy val idntype: (IdnUse) ⇒ Type

    The type of the entity denoted by an identifier use.

    The type of the entity denoted by an identifier use.

    Definition Classes
    TypeAnalyser
  173. def idntypeDef: (IdnUse) ⇒ Type

    The type of a parameter is the type of its underlying variable.

    The type of a parameter is the type of its underlying variable.

    Definition Classes
    TypeAnalyserTypeAnalyser
  174. lazy val idnuse: Parser[IdnUse]

    Definition Classes
    Parser
  175. lazy val ifStatement: Parser[IfStatement]

    Definition Classes
    Parser
  176. def ifToDoc(s: IfStatement): Doc

    Definition Classes
    PrettyPrinter
  177. def ignore(testName: String, testTags: Tag*)(testFun: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuiteLike
  178. def includeTimings: Boolean

    Definition Classes
    Profiler
  179. def info: Informer

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Informing
  180. def initialiseSemanticAnalysis: Unit

    Perform initialisation of semantic analysis that is necessary before processing an AST.

    Perform initialisation of semantic analysis that is necessary before processing an AST.

    Definition Classes
    Driver
  181. lazy val integerType: BuiltinType

    Built-in integer type.

    Built-in integer type.

    Definition Classes
    SymbolTable
  182. def intercept[T <: AnyRef](f: ⇒ Any)(implicit manifest: Manifest[T]): T

    Definition Classes
    Assertions
  183. lazy val intexp: Parser[IntExp]

    Definition Classes
    Parser
  184. def isBoolean(e: Type): Boolean

    Return true if the given type is Boolean or an unknown type.

    Return true if the given type is Boolean or an unknown type.

    Definition Classes
    SymbolTable
  185. def isCompatible(tipe: Type, exptype: Type): Boolean

    Compatibility of types.

    Compatibility of types. Return true if the type is compatible with the expected type. Unknown types are compatible with any other type. Otherwise, use look up the base types of what we have and compare them.

    Definition Classes
    TypeAnalyser
  186. def isConstant(e: Entity): Boolean

    Return true if the entity is erroneous or is a constant.

    Return true if the entity is erroneous or is a constant.

    Definition Classes
    SymbolTable
  187. def isDefinedInEnv(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  188. def isDefinedInInner(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  189. def isDefinedInOuter(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  190. def isDefinedInScope(scope: Scope, i: String): Boolean

    Definition Classes
    Environments
  191. def isDefinedInScope(env: Environment, i: String): Boolean

    Definition Classes
    Environments
  192. def isError(e: Entity): Boolean

    Return true if the entity is an error, false otherwise.

    Return true if the entity is an error, false otherwise.

    Definition Classes
    SymbolTable
  193. def isEventType(record: Record, eventtype: String): Boolean

    Definition Classes
    Values
  194. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  195. def isInteger(e: Type): Boolean

    Return true if the given type is integer or an unknown type.

    Return true if the given type is integer or an unknown type.

    Definition Classes
    SymbolTable
  196. def isLvalue(l: Expression): Boolean

    Return true if the expression can legally appear on the left-hand side of an assignment statement.

    Return true if the expression can legally appear on the left-hand side of an assignment statement. At this level only allow identifiers of variables or things we don't know anything about. The true default is used so that this computation can be used in redefinitions.

    Definition Classes
    NameAnalyser
  197. def isModule(e: Entity): Boolean

    Return true if the entity is erroneous or is a module.

    Return true if the entity is erroneous or is a module.

    Definition Classes
    SymbolTable
  198. def isRvalue(r: IdnExp): Boolean

    Return true if the identifier is an r-value and hence its value can be used (ie.

    Return true if the identifier is an r-value and hence its value can be used (ie. it's erroneous or is a constant, value or variable).

    Definition Classes
    NameAnalyser
  199. def isType(e: Entity): Boolean

    Return true if the entity is erroneous or is a type.

    Return true if the entity is erroneous or is a type.

    Definition Classes
    SymbolTable
  200. def isVariable(e: Entity): Boolean

    Parameters are variables too.

    Parameters are variables too.

    Definition Classes
    SymbolTableSymbolTable
  201. lazy val isconst: (Expression) ⇒ Boolean

    Is an expression constant or not? Unknown entities are constant.

    Is an expression constant or not? Unknown entities are constant. Strictly speaking we only need to support integer expressions here, but we treat Boolean ones as constant in the same way so that we avoid spurious errors. Type analysis will reject Boolean constant expressions anyway.

    Definition Classes
    NameAnalyser
  202. lazy val kase: Parser[Case]

    Definition Classes
    Parser
  203. lazy val keyword: Parser[String]

    Definition Classes
    Parser
  204. def keywordStrings: Seq[String]

    Definition Classes
    ParserParserParserParserParser
  205. def keywords(ext: Regex, kws: Seq[String]): Parser[String]

    Definition Classes
    ParserUtilities
  206. def langle: Doc

    Definition Classes
    PrettyPrinterBase
  207. def langlevel: Int

    Definition Classes
    A3Phases
  208. def lbrace: Doc

    Definition Classes
    PrettyPrinterBase
  209. def lbracket: Doc

    Definition Classes
    PrettyPrinterBase
  210. def leave(env: Environment): Environment

    Definition Classes
    Environments
  211. lazy val level: (SourceASTNode) ⇒ Int

    Level of a node considering the module level to be zero and incrementing each time we enter a nested procedure declaration.

    Level of a node considering the module level to be zero and incrementing each time we enter a nested procedure declaration.

    Definition Classes
    NameAnalyser
  212. lazy val lhs: PackratParser[Expression]

    Definition Classes
    Parser
  213. def lhsDef: PackratParser[Expression]

    Definition Classes
    Parser
  214. def line: Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  215. def line(repl: Layout): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  216. def linebreak: Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  217. def list[T](l: Seq[T], prefix: String, elemToDoc: (T) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinterBase
  218. implicit def literal(s: String): Parser[String]

    Definition Classes
    WhitespaceParser → RegexParsers
  219. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Definition Classes
    Parsers
  220. def lookup(env: Environment, i: String, e: Entity, scope: Boolean): Entity

    Definition Classes
    Environments
  221. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  222. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  223. def lparen: Doc

    Definition Classes
    PrettyPrinterBase
  224. def lsep(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  225. def lsep2(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  226. def lterm(ds: Seq[Doc], term: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  227. def main(args: Array[String]): Unit

    Definition Classes
    CompilerBase
  228. def makeast(reader: Reader, filename: String, config: Oberon0Config): Either[ModuleDecl, String]

    Definition Classes
    CompilerWithConfig → CompilerBase
  229. def markup: Documenter

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Documenting
  230. val maxlanglevel: Int

    The maximum language level we support.

    The maximum language level we support.

    Definition Classes
    TestDriver
  231. def memo[T](p: Parser[T]): PackratParser[T]

    Definition Classes
    PackratParsers
  232. val messaging: Messaging

    The messaging module to use for this compiler.

    The messaging module to use for this compiler.

    Definition Classes
    Analyser
  233. def minus: Doc

    Definition Classes
    PrettyPrinterBase
  234. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Definition Classes
    Parsers
  235. def mktests(proglang: String): Unit

    Make the tests for a given language subset.

    Make the tests for a given language subset. proglang denotes the language subset whose tests are used.

    Definition Classes
    TestDriver
  236. lazy val moduledecl: Parser[ModuleDecl]

    Definition Classes
    Parser
  237. val nameCounter: Counter

    Definition Classes
    Environments
  238. lazy val namedtypedef: Parser[NamedType]

    Definition Classes
    Parser
  239. def nanoToMs(nano: Long): Long

    Definition Classes
    Profiler
  240. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  241. def nest(d: Doc, j: Indent): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  242. def nestedSuites: IndexedSeq[Suite]

    Definition Classes
    Suite → AbstractSuite
  243. def noparens(inner: PrettyOperatorExpression, outer: PrettyOperatorExpression, side: Side): Boolean

    Definition Classes
    ParenPrettyPrinter
  244. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Definition Classes
    Parsers
  245. def note: Notifier

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Notifying
  246. final def notify(): Unit

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

    Definition Classes
    AnyRef
  248. lazy val numparams: (IdnUse) ⇒ Option[Int]

    Calculate the number of parameters to a procedure.

    Calculate the number of parameters to a procedure. Return None if the identifier use does not denote a procedure.

    Definition Classes
    TypeAnalyser
  249. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Definition Classes
    Parsers
  250. lazy val optActualParameters: Parser[List[Expression]]

    Definition Classes
    Parser
  251. def optSectionToDoc(section: String, optds: Option[Seq[Declaration]]): Doc

    Definition Classes
    PrettyPrinter
  252. lazy val optelse: Parser[Option[Block]]

    Definition Classes
    Parser
  253. lazy val optformalParameters: PackratParser[Seq[FPSection]]

    Definition Classes
    Parser
  254. lazy val optvar: Parser[Product with Serializable with Mode]

    Definition Classes
    Parser
  255. def output(str: String): Unit

    Definition Classes
    Values
  256. def outputln(str: String): Unit

    Definition Classes
    Values
  257. lazy val parameters: (Identifier) ⇒ Option[Seq[ParamInfo]]

    Calculate the parameter information list for a procedure.

    Calculate the parameter information list for a procedure. If it's a built-in we have the information already, otherwise we need to work it out from the declaration. Returns None if the entity is not a procedure.

    Definition Classes
    TypeAnalyser
  258. def parammode(u: IdnUse, i: Int): Mode

    Return the ith parameter mode of the procedure denoted by u (counting from one).

    Return the ith parameter mode of the procedure denoted by u (counting from one). If u is not a procedure or has less than i parameters, return a value mode, since that mode places no constraints on its actual parameter.

    Definition Classes
    TypeAnalyser
  259. def paramsToDoc(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinter
  260. def paramtype(u: IdnUse, i: Int): Type

    Return the ith parameter type of the procedure denoted by u (counting from one).

    Return the ith parameter type of the procedure denoted by u (counting from one). If u is not a procedure or has less than i parameters, return an unknown type.

    Definition Classes
    TypeAnalyser
  261. def parens(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  262. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

    Definition Classes
    RegexParsers
  263. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Definition Classes
    RegexParsers
  264. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Definition Classes
    RegexParsers
  265. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Definition Classes
    RegexParsers
  266. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

    Definition Classes
    RegexParsers
  267. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Definition Classes
    RegexParsers
  268. def parseAndPosition[T](f: (Input) ⇒ ParseResult[T], in: Input): ParseResult[T]

    Definition Classes
    PositionedParserUtilities
  269. def parseProfileOption(value: String): Seq[Dimension]

    Definition Classes
    Profiler
  270. implicit def parseResultToTuple2[A, B](p: Parser[~[A, B]]): PackratParser[(A, B)]

    Definition Classes
    ParserUtilities
  271. implicit def parseResultToTuple3[A, B, C](p: Parser[~[~[A, B], C]]): PackratParser[(A, B, C)]

    Definition Classes
    ParserUtilities
  272. implicit def parseResultToTuple4[A, B, C, D](p: Parser[~[~[~[A, B], C], D]]): PackratParser[(A, B, C, D)]

    Definition Classes
    ParserUtilities
  273. implicit def parseResultToTuple5[A, B, C, D, E](p: Parser[~[~[~[~[A, B], C], D], E]]): PackratParser[(A, B, C, D, E)]

    Definition Classes
    ParserUtilities
  274. implicit def parseResultToTuple6[A, B, C, D, E, F](p: Parser[~[~[~[~[~[A, B], C], D], E], F]]): PackratParser[(A, B, C, D, E, F)]

    Definition Classes
    ParserUtilities
  275. def parseString[T](parser: Parser[T], str: String): Either[T, String]

    Definition Classes
    ParserUtilities
  276. def parseWhitespace(in: Input): ParseResult[Any]

    Attributes
    protected
    Definition Classes
    WhitespaceParser
  277. lazy val parser: PackratParser[ModuleDecl]

    Definition Classes
    Parser
  278. implicit def parser2packrat[T](p: ⇒ Parser[T]): PackratParser[T]

    Definition Classes
    PackratParsers
  279. var parsingWhitespace: Boolean

    Attributes
    protected
    Definition Classes
    WhitespaceParser
  280. def pending: PendingNothing

    Definition Classes
    Suite
  281. def pendingUntilFixed(f: ⇒ Unit): Unit

    Definition Classes
    Suite
  282. def percent(v: Long, total: Long): String

    Definition Classes
    Profiler
  283. def percent: Doc

    Definition Classes
    PrettyPrinterBase
  284. def phrase[T](p: Parser[T]): PackratParser[T]

    Definition Classes
    PackratParsers → Parsers
  285. def plist(l: List[PrettyPrintable], prefix: String, elemToDoc: (PrettyPrintable) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinterBase
  286. def plus: Doc

    Definition Classes
    PrettyPrinterBase
  287. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    WhitespaceParser → RegexParsers → Parsers
  288. def pretty(d: Doc, w: Width): Layout

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  289. def pretty(p: PrettyPrintable): Layout

    Definition Classes
    PrettyPrinterBase
  290. def pretty_any(a: Any): Layout

    Definition Classes
    PrettyPrinterBase
  291. def printDependencyGraph(record: Record, dim: Dimension): Unit

    Definition Classes
    Profiler
  292. def printReports(totalTime: Long, dimensionNames: Seq[Dimension], records: List[Record]): Unit

    Definition Classes
    Profiler
  293. var printTables: Boolean

    Definition Classes
    Values
  294. lazy val procedureCall: Parser[Call]

    Definition Classes
    Parser
  295. lazy val procedureDeclaration: Parser[ProcDecl]

    Definition Classes
    Parser
  296. def process(filename: String, ast: ModuleDecl, config: Oberon0Config): Unit

    Process the given abstract syntax tree.

    Process the given abstract syntax tree. Send output to emitter, marking sections so that we can split things later.

    Definition Classes
    FrontEndDriver → CompilerWithConfig → CompilerBase
  297. def processast(ast: ModuleDecl, config: Oberon0Config): ModuleDecl

    Process the AST by transforming it.

    Process the AST by transforming it. Then apply higher-level transformations.

    Definition Classes
    TransformingDriverFrontEndDriver
  298. def processfile(filename: String, config: Oberon0Config): Unit

    Custom driver for section tagging and challenge mode for errors.

    Custom driver for section tagging and challenge mode for errors. If a parse error occurs: in challenge mode, just send "parse failed" to standard output, otherwise send the message to the errors file.

    Definition Classes
    FrontEndDriver → CompilerBase
  299. def processfiles(filenames: Seq[String], config: Oberon0Config): Unit

    Definition Classes
    CompilerBase
  300. def profile[T](computation: ⇒ T, dimensionNames: Seq[Dimension], logging: Boolean): T

    Definition Classes
    Profiler
  301. def profileStart(logging: Boolean): Unit

    Definition Classes
    Profiler
  302. def profileStop(): (Seq[Dimension]) ⇒ Unit

    Definition Classes
    Profiler
  303. def profileStop(dimensionNames: Seq[Dimension]): Unit

    Definition Classes
    Profiler
  304. def profileStopInteractive(): Unit

    Definition Classes
    Profiler
  305. def pseq(l: Seq[PrettyPrintable], prefix: String, elemToDoc: (PrettyPrintable) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinterBase
  306. def question: Doc

    Definition Classes
    PrettyPrinterBase
  307. def rangle: Doc

    Definition Classes
    PrettyPrinterBase
  308. def rbrace: Doc

    Definition Classes
    PrettyPrinterBase
  309. def rbracket: Doc

    Definition Classes
    PrettyPrinterBase
  310. lazy val readProc: BuiltinProc

    The built-in Read procedure.

    The built-in Read procedure.

    Definition Classes
    SymbolTable
  311. implicit def regex(r: Regex): Parser[String]

    Definition Classes
    WhitespaceParser → RegexParsers
  312. def regexnows(r: Regex): Parser[String]

    Definition Classes
    ParserUtilities
  313. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  314. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.

  315. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  316. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  317. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  318. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  319. def rerunner: Option[String]

    Definition Classes
    Suite → AbstractSuite
  320. def resetEnvironments: Unit

    Definition Classes
    Environments
  321. def result[T](v: ⇒ T): Parser[T]

    Definition Classes
    ParserUtilities
  322. lazy val rootconstexp: (Expression) ⇒ Boolean

    Is this expression the root of what is expected to be a constant expression? At this level only expressions on the RHS of a constant declaration have this property.

    Is this expression the root of what is expected to be a constant expression? At this level only expressions on the RHS of a constant declaration have this property.

    Definition Classes
    NameAnalyser
  323. def rootconstexpDef: (Expression) ⇒ Boolean

    Definition Classes
    NameAnalyserNameAnalyser
  324. def rootenv(bindings: (String, Entity)*): Environment

    Definition Classes
    Environments
  325. def rparen: Doc

    Definition Classes
    PrettyPrinterBase
  326. def run(testName: Option[String], args: Args): Status

    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  327. final def run(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter, configMap: Map[String, Any], distributor: Option[Distributor], tracker: Tracker): Status

    Definition Classes
    AbstractSuite
  328. def runNestedSuites(args: Args): Status

    Attributes
    protected
    Definition Classes
    Suite → AbstractSuite
  329. def runTest(testName: String, args: Args): Status

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  330. def runTests(testName: Option[String], args: Args): Status

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  331. def sanitise(s: String): String

    Sanitise the output from a test.

    Sanitise the output from a test. Remove any output that doesn't make sense to this program. I.e., if we are running a program that performs tasks 1-m, then any lines marked with [p], where p > m should be removed before comparison. Also, there can be three numbers, a'la [p,q,r] where p is as before and q (r) are lower (upper) inclusive bounds on the language level to which this output should apply. If p is omitted, the output applies to all task levels. If p is given, but q and r are omitted, the output also applies to all language levels.

    Definition Classes
    TestDriverTestCompilerWithConfig
  332. def section(emitter: Emitter, name: String): Unit

    Output a section heading so that the output can be split later.

    Output a section heading so that the output can be split later.

    Definition Classes
    Driver
  333. def semi: Doc

    Definition Classes
    PrettyPrinterBase
  334. def semisep(l: Seq[SourceASTNode], sep: Doc = semi): Doc

    Pretty-print a nested list of nodes separated by sep (default: semi colon) and line breaks.

    Pretty-print a nested list of nodes separated by sep (default: semi colon) and line breaks.

    Definition Classes
    PrettyPrinter
  335. def sep(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  336. def seq[T](l: Seq[T], prefix: String, elemToDoc: (T) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinterBase
  337. lazy val simpexp: PackratParser[Expression]

    Definition Classes
    Parser
  338. def skipWhitespace: Boolean

    Definition Classes
    WhitespaceParser → RegexParsers
  339. def softbreak: Doc

    Definition Classes
    PrettyPrinterBase
  340. def softline: Doc

    Definition Classes
    PrettyPrinterBase
  341. def space: Doc

    Definition Classes
    PrettyPrinterBase
  342. def spaces(n: Int): Doc

    Definition Classes
    PrettyPrinterBase
  343. def squote: Doc

    Definition Classes
    PrettyPrinterBase
  344. def squotes(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  345. def ssep(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  346. def startReport(dimensionNames: Seq[Dimension]): Unit

    Definition Classes
    Profiler → Values
  347. var startTime: Long

    Definition Classes
    Profiler
  348. lazy val statement: PackratParser[Statement]

    Definition Classes
    Parser
  349. def statementDef: PackratParser[Statement]

    Definition Classes
    ParserParserParserParserParser
  350. lazy val statementSequence: Parser[Block]

    Definition Classes
    Parser
  351. lazy val statements: Parser[Block]

    Definition Classes
    Parser
  352. lazy val step: Parser[Option[Expression]]

    Definition Classes
    Parser
  353. def sterm(ds: Seq[Doc], term: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  354. def string(s: String): Doc

    Definition Classes
    PrettyPrinterBase
  355. def stringToInt(s: String): Either[Int, String]

    Definition Classes
    ParserUtilities
  356. final val styleName: String

    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  357. def subjectsToStep(src: Any, dst: Any): Step

    Definition Classes
    Profiler
  358. def success[T](v: T): Parser[T]

    Definition Classes
    Parsers
  359. def suiteId: String

    Definition Classes
    Suite
  360. def suiteName: String

    Definition Classes
    Suite
  361. def summariseAlongDims(dimensionNames: Seq[Dimension], records: List[Record], nrecords: Int, profiledTime: Long): Unit

    Definition Classes
    Profiler
  362. def surround(d: Doc, b: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  363. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  364. def tags: Map[String, Set[String]]

    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  365. def tasklevel: Int

    Definition Classes
    A3Phases
  366. lazy val term: PackratParser[Expression]

    Definition Classes
    Parser
  367. def test(testName: String, testTags: Tag*)(testFun: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuiteLike
  368. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Definition Classes
    FunSuiteLike → Suite
  369. def testNames: Set[String]

    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  370. def testdriver(config: Oberon0Config): Unit

    Run the compiler in test mode using the given configuration.

    Run the compiler in test mode using the given configuration.

    Definition Classes
    TestCompilerWithConfig
  371. def testsFor(unit: Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuiteLike
  372. implicit def text(t: String): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  373. def tilde: Doc

    Definition Classes
    PrettyPrinterBase
  374. def time[T](computation: ⇒ T, warmup: Int, n: Int, discard: Int): Unit

    Definition Classes
    Profiler
  375. lazy val tipe: (Expression) ⇒ Type

    The type of an expression.

    The type of an expression.

    Definition Classes
    TypeAnalyser
  376. def tipeDef: (Expression) ⇒ Type

    Definition Classes
    TypeAnalyser
  377. def toDoc(n: SourceASTNode): Doc

  378. def toParenDoc(e: PrettyExpression): Doc

    Definition Classes
    PrettyPrinter → ParenPrettyPrinter
  379. def toString(): String

    Definition Classes
    AnyRef → Any
  380. def trace(predicate: (Event) ⇒ Boolean): Unit

    Definition Classes
    Profiler
  381. def transform(m: ModuleDecl): ModuleDecl

    Desugar FOR and CASE statements into simpler constructs.

    Desugar FOR and CASE statements into simpler constructs. Then call the next level of transformation.

    Definition Classes
    DesugarerDesugarerTransformer
  382. def trap[T](f: ⇒ T): Throwable

    Definition Classes
    Assertions
  383. lazy val trueConstant: IntegerValue

    Built-in true constant.

    Built-in true constant.

    Definition Classes
    SymbolTable
  384. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  385. lazy val typebasetype: (Type) ⇒ Type

    The actual type that a user type denotes.

    The actual type that a user type denotes.

    Definition Classes
    TypeAnalyser
  386. lazy val typedecl: Parser[TypeDecl]

    Definition Classes
    Parser
  387. lazy val typedeclsection: Parser[List[TypeDecl]]

    Definition Classes
    Parser
  388. lazy val typedef: PackratParser[TypeDef]

    Definition Classes
    Parser
  389. def typedefDef: PackratParser[TypeDef]

    Definition Classes
    Parser
  390. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): Constraint[A, B]

    Definition Classes
    TripleEquals → TripleEqualsSupport
  391. def underscore: Doc

    Definition Classes
    PrettyPrinterBase
  392. def uniquifyNames(m: ModuleDecl): ModuleDecl

    Rename user-defined names to avoid clashes with outer declarations of the same name.

    Rename user-defined names to avoid clashes with outer declarations of the same name. This transformation is not idempotent.

    Definition Classes
    Desugarer
  393. lazy val unknownType: BuiltinType

    A type that is unknown, eg because the typed thing is erroneously defined.

    A type that is unknown, eg because the typed thing is erroneously defined.

    Definition Classes
    SymbolTable
  394. def value(v: Any): Doc

    Definition Classes
    PrettyPrinterBase
  395. lazy val value: (Expression) ⇒ Int

    What is the value of an integer expression? Only needs to be valid if the expression is an integer constant (see isconst above) and is defined (eg, no divide by zero.

    What is the value of an integer expression? Only needs to be valid if the expression is an integer constant (see isconst above) and is defined (eg, no divide by zero.) Returns zero in all other cases. FIXME: Ignores issues of overflow.

    Definition Classes
    NameAnalyser
  396. def valueToString(a: Value): String

    Definition Classes
    Values
  397. lazy val vardecl: Parser[VarDecl]

    Definition Classes
    Parser
  398. lazy val vardeclsection: Parser[List[VarDecl]]

    Definition Classes
    Parser
  399. def vcat(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  400. def verticalbar: Doc

    Definition Classes
    PrettyPrinterBase
  401. def vsep(ds: Seq[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  402. def vsep(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  403. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  406. lazy val whileStatement: Parser[WhileStatement]

    Definition Classes
    Parser
  407. val whiteSpace: Regex

    Attributes
    protected
    Definition Classes
    RegexParsers
  408. lazy val whitespaceParser: PackratParser[Any]

    Definition Classes
    Parser → WhitespaceParser
  409. def withClue[T](clue: Any)(fun: ⇒ T): T

    Definition Classes
    Assertions
  410. def withFixture(test: NoArgTest): Outcome

    Attributes
    protected
    Definition Classes
    Suite → AbstractSuite
  411. def wrap[T, U](p: ⇒ Parser[T], f: (T) ⇒ Either[U, String]): Parser[U]

    Definition Classes
    ParserUtilities
  412. lazy val writeProc: BuiltinProc

    The built-in Write procedure.

    The built-in Write procedure.

    Definition Classes
    SymbolTable
  413. lazy val writelnProc: BuiltinProc

    The built-in WriteLn procedure.

    The built-in WriteLn procedure.

    Definition Classes
    SymbolTable

Deprecated Value Members

  1. def assert(o: Option[String]): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This method has been deprecated in favor of macro assertion and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.

  2. def assert(o: Option[String], clue: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This method has been deprecated in favor of macro assertion and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.

  3. def assume(o: Option[String]): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This method has been deprecated in favor of macro assumption and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.

  4. def assume(o: Option[String], clue: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This method has been deprecated in favor of macro assumption and will be removed in a future version of ScalaTest. If you need this, please copy the source code into your own trait instead.

  5. def expect(expected: Any)(actual: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of assertResult instead.

  6. def expect(expected: Any, clue: Any)(actual: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This expect method has been deprecated. Please replace all invocations of expect with an identical invocation of assertResult instead.

  7. def expectResult(expected: Any)(actual: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This expectResult method has been deprecated. Please replace all invocations of expectResult with an identical invocation of assertResult instead.

  8. def expectResult(expected: Any, clue: Any)(actual: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    This expectResult method has been deprecated. Please replace all invocations of expectResult with an identical invocation of assertResult instead.

  9. def product(p: Any): Doc

    Definition Classes
    PrettyPrinterBase
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2.1) Use PrettyPrinter.any instead.

Inherited from TestDriver

Inherited from FunSuiteLike

Inherited from Documenting

Inherited from Alerting

Inherited from Notifying

Inherited from Informing

Inherited from Suite

Inherited from Serializable

Inherited from AbstractSuite

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from A3Phases

Inherited from Desugarer

Inherited from Desugarer

Inherited from Lifter

Inherited from Transformer

Inherited from TypeAnalyser

Inherited from TypeAnalyser

Inherited from TypeAnalyser

Inherited from TypeAnalyser

Inherited from NameAnalyser

Inherited from SymbolTable

Inherited from NameAnalyser

Inherited from NameAnalyser

Inherited from SymbolTable

Inherited from SymbolTable

Inherited from Environments

Inherited from Analyser

Inherited from PrettyPrinter

Inherited from PrettyPrinter

Inherited from PrettyPrinter

Inherited from PrettyPrinter

Inherited from PrettyPrinter

Inherited from SourcePrettyPrinter

Inherited from ParenPrettyPrinter

Inherited from L3.Parser

Inherited from L2.Parser

Inherited from L1.Parser

Inherited from L0.Parser

Inherited from base.Parser

Inherited from WhitespacePositionedParserUtilities

Inherited from PositionedParserUtilities

Inherited from WhitespaceParser

Inherited from ParserUtilities

Inherited from PackratParsers

Inherited from TransformingDriver

Inherited from FrontEndDriver

Inherited from CompilerWithConfig[ModuleDecl, Oberon0Config]

Inherited from RegexParsers

Inherited from Parsers

Inherited from CompilerBase[ModuleDecl, Oberon0Config]

Inherited from Profiler

Inherited from Profiler

Inherited from Values

Inherited from Driver

Inherited from PrettyPrinter

Inherited from PrettyPrinterBase

Inherited from AnyRef

Inherited from Any

Ungrouped