org.kiama.example.oberon0.drivers

A2bTests

class A2bTests extends A2bPhases with TestDriver

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

Instance Constructors

  1. new A2bTests()

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 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.

  4. class CheckingEqualizer[L] extends AnyRef

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

    Definition Classes
    Profiler
  6. 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.

  7. case class Dep extends Product with Serializable

    Definition Classes
    Profiler
  8. 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 → PrettyPrinterBase
  9. trait DocOps extends AnyRef

    Definition Classes
    PrettyPrinterBase
  10. type Elem = Char

    Definition Classes
    RegexParsers → Parsers
  11. type Environment = List[Scope]

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

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

    Definition Classes
    Parsers
  14. case class Failure extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  15. type Indent = Int

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

    Definition Classes
    Parsers
  17. 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.

  18. type Layout = String

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

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

    Definition Classes
    TripleEqualsSupport
  21. class Marker extends AnyRef

    Definition Classes
    PositionedParserUtilities
  22. case class MaxDiscarded extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  23. case class MaxSize extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  24. case class MinSize extends PropertyCheckConfigParam with Product with Serializable

    Definition Classes
    Configuration
  25. case class MinSuccessful extends PropertyCheckConfigParam with Product with Serializable

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

    A user-defined module represented by a module declaration.

  27. trait Named extends AnyRef

    Definition Classes
    Environments
  28. trait NamedEntity extends Entity with Named

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

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

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

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

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

    Definition Classes
    PackratParsers
  34. sealed abstract class ParseResult[+T] extends AnyRef

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

    Definition Classes
    Parsers
  36. trait PrettyPrintable extends AnyRef

    Definition Classes
    PrettyPrinterBase
  37. case class PropertyCheckConfig extends Product with Serializable

    Definition Classes
    Configuration
  38. sealed abstract class PropertyCheckConfigParam extends AnyRef

    Definition Classes
    Configuration
  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 UserType(ident: String, tipe: TypeDecl) extends Type with Named with Product with Serializable

    A user-defined type.

  45. 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.

  46. type Width = Int

    Definition Classes
    PrettyPrinterBase
  47. case class Workers extends PropertyCheckConfigParam with Product with Serializable

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

    Definition Classes
    Parsers

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

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

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

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

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

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

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

    Definition Classes
    Any
  9. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

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

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

    Definition Classes
    TripleEqualsSupport
  12. object FocusTest extends Tag

    A ScalaTest tag that enables us to focus attention on particular tests rather than running all of them each time.

  13. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

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

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

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

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

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

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

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

    Definition Classes
    Parsers
  21. def after(fun: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    BeforeAndAfter
  22. def afterAll(): Unit

    Attributes
    protected
    Definition Classes
    BeforeAndAfterAll
  23. def alert: Alerter

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Alerting
  24. def align(d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  25. def ampersand: Doc

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

    Definition Classes
    PrettyPrinterBase
  27. def any(a: Any): Doc

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

    Definition Classes
    ParserUtilities
  29. implicit def anyToPrettyPrintable(a: Any): PrettyPrintable

    Definition Classes
    PrettyPrinterBase
  30. def artefact: String

    The name of this artefact.

    The name of this artefact.

    Definition Classes
    A2bPhasesDriver
  31. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  33. def assert(condition: Boolean): Unit

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  34. def assertCompiles(code: String): Unit

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  35. def assertDoesNotCompile(code: String): Unit

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  36. def assertMessage(received: Message, index: Int, expected: Message): Unit

    Assert that a received message at the given zero-based index conforms to an expected one in that it reports the same message label at the same position.

    Assert that a received message at the given zero-based index conforms to an expected one in that it reports the same message label at the same position.

    Definition Classes
    Tests
  37. def assertMessages(received: Messages, expected: Message*): Unit

    Assert that the received list of messsages has recorded the expected messages in the same order.

    Assert that the received list of messsages has recorded the expected messages in the same order.

    Definition Classes
    Tests
  38. def assertNotOptSame(expected: Any)(actual: Any): Unit

    Analogous to ScalaTest's assertResult but it uses optsame to compare the two values instead of equality.

    Analogous to ScalaTest's assertResult but it uses optsame to compare the two values instead of equality.

    Definition Classes
    Tests
  39. def assertNotSame(expected: Any)(actual: Any): Unit

    Analogous to ScalaTest's assertResult but it uses same to compare the two values instead of equality.

    Analogous to ScalaTest's assertResult but it uses same to compare the two values instead of equality.

    Definition Classes
    Tests
  40. def assertOptSame(expected: Any)(actual: Any): Unit

    Analogous to ScalaTest's assertResult but it uses optsame to compare the two values instead of equality.

    Analogous to ScalaTest's assertResult but it uses optsame to compare the two values instead of equality.

    Definition Classes
    Tests
  41. def assertResult(expected: Any)(actual: Any): Unit

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

    Definition Classes
    Assertions
  43. def assertSame(expected: Any)(actual: Any): Unit

    Analogous to ScalaTest's assertResult but it uses same to compare the two values instead of equality.

    Analogous to ScalaTest's assertResult but it uses same to compare the two values instead of equality.

    Definition Classes
    Tests
  44. def assertTypeError(code: String): Unit

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  45. val assertionsHelper: AssertionsHelper

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

    Definition Classes
    SyntaxAnalyser
  47. def assume(condition: Boolean, clue: Any): Unit

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  48. def assume(condition: Boolean): Unit

    Definition Classes
    Assertions
    Annotations
    @macroImpl( ... )
  49. def asterisk: Doc

    Definition Classes
    PrettyPrinterBase
  50. def atsign: Doc

    Definition Classes
    PrettyPrinterBase
  51. def backquote: Doc

    Definition Classes
    PrettyPrinterBase
  52. def backslash: Doc

    Definition Classes
    PrettyPrinterBase
  53. 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
  54. def before(fun: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    BeforeAndAfter
  55. def beforeAll(): Unit

    Attributes
    protected
    Definition Classes
    BeforeAndAfterAll
  56. lazy val block: Parser[Block]

    Definition Classes
    SyntaxAnalyser
  57. 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
    SourcePrettyPrinterSourcePrettyPrinter
  58. lazy val booleanType: BuiltinType

    Built-in Boolean type.

    Built-in Boolean type.

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

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

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

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

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

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

    Definition Classes
    Assertions
  65. def cancel(): Nothing

    Definition Classes
    Assertions
  66. def caret: Doc

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

    Definition Classes
    SyntaxAnalyser
  68. def caseToDoc(s: CaseStatement): Doc

    Definition Classes
    SourcePrettyPrinter
  69. lazy val cases: Parser[List[Case]]

    Definition Classes
    SyntaxAnalyser
  70. def casesToDoc(l: Seq[Case]): Doc

    Definition Classes
    SourcePrettyPrinter
  71. def cat(ds: Seq[Doc]): Doc

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

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

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

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

    Definition Classes
    PrettyPrinterBase
  76. def check(p: Prop, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig): Unit

    Definition Classes
    Checkers
  77. def check(p: Prop, prms: Parameters): Unit

    Definition Classes
    Checkers
  78. def check[A1, A2, A3, A4, A5, A6, P](f: (A1, A2, A3, A4, A5, A6) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty, a6: Arbitrary[A6], s6: Shrink[A6], pp6: (A6) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  79. def check[A1, A2, A3, A4, A5, P](f: (A1, A2, A3, A4, A5) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty, a5: Arbitrary[A5], s5: Shrink[A5], pp5: (A5) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  80. def check[A1, A2, A3, A4, P](f: (A1, A2, A3, A4) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty, a4: Arbitrary[A4], s4: Shrink[A4], pp4: (A4) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  81. def check[A1, A2, A3, P](f: (A1, A2, A3) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty, a3: Arbitrary[A3], s3: Shrink[A3], pp3: (A3) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  82. def check[A1, A2, P](f: (A1, A2) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty, a2: Arbitrary[A2], s2: Shrink[A2], pp2: (A2) ⇒ Pretty): Unit

    Definition Classes
    Checkers
  83. def check[A1, P](f: (A1) ⇒ P, configParams: PropertyCheckConfigParam*)(implicit config: PropertyCheckConfig, p: (P) ⇒ Prop, a1: Arbitrary[A1], s1: Shrink[A1], pp1: (A1) ⇒ Pretty): Unit

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

    Definition Classes
    Values
  85. def clone(): AnyRef

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

    Definition Classes
    PrettyPrinterBase
  87. def column(f: (Int) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  88. def comma: Doc

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

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

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

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

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

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

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

    Definition Classes
    ParserUtilities
  96. 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
  97. 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
  98. lazy val constdecl: Parser[ConstDecl]

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

    Definition Classes
    SyntaxAnalyser
  100. lazy val constrainedInt: PackratParser[Int]

    Definition Classes
    ParserUtilities
  101. 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
  102. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): Constraint[A, B]

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

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

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

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

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

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

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

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

    Definition Classes
    TripleEquals → TripleEqualsSupport
  111. def createConfig(args: Seq[String], output: Emitter = new OutputEmitter, error: Emitter = new ErrorEmitter): 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
  112. lazy val declarations: PackratParser[Seq[Declaration]]

    Definition Classes
    SyntaxAnalyser
  113. def declarationsDef: PackratParser[Seq[Declaration]]

    Definition Classes
    SyntaxAnalyserSyntaxAnalyser
  114. def declsToDoc(ds: Seq[Declaration]): Doc

    Definition Classes
    SourcePrettyPrinter
  115. def declsection(d: Declaration): String

  116. 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
  117. def defaultEquality[A]: Equality[A]

    Definition Classes
    TripleEqualsSupport
  118. val defaultIndent: Int

    Definition Classes
    PrettyPrinterBase
  119. val defaultWidth: Int

    Definition Classes
    PrettyPrinterBase
  120. def defenv: Environment

    The default environment.

    The default environment.

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

    Definition Classes
    SymbolTable
  122. def define(env: Environment, i: String, e: Entity): Environment

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

    The type given by a type definition.

    The type given by a type definition.

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

    Definition Classes
    TypeAnalyser
  125. def dimValue(record: Record, dim: Dimension): Value

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

    Definition Classes
    PrettyPrinterBase
  127. 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
  128. def dot: Doc

    Definition Classes
    PrettyPrinterBase
  129. def dquote: Doc

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

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

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

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

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

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

    Definition Classes
    SyntaxAnalyser
  136. def empty: Doc

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

    Definition Classes
    PrettyPrinterBase
  138. def encoding: String

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

    Definition Classes
    Environments
  140. 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
  141. 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
    NameAnalyser
  142. lazy val env: Chain[SourceTree, 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
  143. def envin(in: (SourceTree) ⇒ Environment): ==>[SourceTree, Environment]

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

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

    Definition Classes
    AnyRef
  146. def equal: Doc

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

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

    Definition Classes
    ParserUtilities → Parsers
  149. val errors: attribution.Attribution.CachedAttribute[Any, Seq[Message]]

    The semantic errors for a tree.

    The semantic errors for a tree.

    Definition Classes
    Analyser
  150. def errorsDef(n: SourceTree): Messages

    The error checking for this level.

    The error checking for this level.

    Definition Classes
    TypeAnalyserTypeAnalyserNameAnalyserAnalyser
  151. def exclamation: Doc

    Definition Classes
    PrettyPrinterBase
  152. final def execute: Unit

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

    Definition Classes
    Suite
  154. 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
  155. def expectedTestCount(filter: Filter): Int

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

    Definition Classes
    SyntaxAnalyser
  157. 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
  158. def exptypeDef: (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
    TypeAnalyserTypeAnalyserTypeAnalyser
  159. lazy val factor: PackratParser[Expression]

    Definition Classes
    SyntaxAnalyser
  160. def fail(cause: Throwable): Nothing

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

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

    Definition Classes
    Assertions
  163. def fail(): Nothing

    Definition Classes
    Assertions
  164. def failExpectedTest[T](expected: T, found: T, description: String = ""): Unit

    Fail a test with a message about finding something and expecting something else.

    Fail a test with a message about finding something and expecting something else.

    Definition Classes
    Tests
  165. def failure(msg: String): Parser[Nothing]

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

    Built-in false constant.

    Built-in false constant.

    Definition Classes
    SymbolTable
  167. 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
  168. def fillcat(ds: Seq[Doc]): Doc

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

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

    Definition Classes
    PrettyPrinterBase
  171. def finalize(): Unit

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

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

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

    Definition Classes
    SyntaxAnalyser
  175. def forToDoc(s: ForStatement): Doc

    Definition Classes
    SourcePrettyPrinter
  176. lazy val forVar: Parser[IdnExp]

    Definition Classes
    SyntaxAnalyser
  177. def forwslash: Doc

    Definition Classes
    PrettyPrinterBase
  178. implicit val generatorDrivenConfig: PropertyCheckConfig

    Definition Classes
    Configuration
  179. final def getClass(): Class[_]

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

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

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

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

    Attributes
    protected
    Definition Classes
    RegexParsers
  184. def hang(d: Doc, i: Indent): Doc

    Definition Classes
    PrettyPrinterBase
  185. def hash: Doc

    Definition Classes
    PrettyPrinterBase
  186. def hashCode(): Int

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

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

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

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

    Definition Classes
    SyntaxAnalyser
  191. def idlistToDoc(ids: Seq[IdnDef]): Doc

    Definition Classes
    SourcePrettyPrinter
  192. lazy val idndef: Parser[IdnDef]

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

    Definition Classes
    SyntaxAnalyser
  194. 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
  195. def idntypeDef: (IdnUse) ⇒ Type

    Definition Classes
    TypeAnalyser
  196. lazy val idnuse: Parser[IdnUse]

    Definition Classes
    SyntaxAnalyser
  197. lazy val ifStatement: Parser[IfStatement]

    Definition Classes
    SyntaxAnalyser
  198. def ifToDoc(s: IfStatement): Doc

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

    Attributes
    protected
    Definition Classes
    FunSuiteLike
  200. def includeTimings: Boolean

    Definition Classes
    Profiler
  201. def indent(d: Doc, i: Indent): Doc

    Definition Classes
    PrettyPrinterBase
  202. def info: Informer

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Informing
  203. 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
  204. lazy val integerType: BuiltinType

    Built-in integer type.

    Built-in integer type.

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

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

    Definition Classes
    SyntaxAnalyser
  207. val invokeBeforeAllAndAfterAllEvenIfNoTestsAreExpected: Boolean

    Definition Classes
    BeforeAndAfterAll
  208. 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
  209. 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
  210. 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
  211. def isDefinedInEnv(env: Environment, i: String): Boolean

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

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

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

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

    Definition Classes
    Environments
  216. 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
  217. def isEventType(record: Record, eventtype: String): Boolean

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

    Definition Classes
    Any
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. def isVariable(e: Entity): Boolean

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

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

    Definition Classes
    SymbolTable
  225. 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
  226. lazy val kase: Parser[Case]

    Definition Classes
    SyntaxAnalyser
  227. lazy val keyword: Parser[String]

    Definition Classes
    SyntaxAnalyser
  228. def keywordStrings: Seq[String]

  229. def keywords(ext: Regex, kws: Seq[String]): Parser[String]

    Definition Classes
    ParserUtilities
  230. def langle: Doc

    Definition Classes
    PrettyPrinterBase
  231. def langlevel: Int

    Definition Classes
    A2bPhases
  232. def lbrace: Doc

    Definition Classes
    PrettyPrinterBase
  233. def lbracket: Doc

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

    Definition Classes
    Environments
  235. lazy val lhs: PackratParser[Expression]

    Definition Classes
    SyntaxAnalyser
  236. def lhsDef: PackratParser[Expression]

    Definition Classes
    SyntaxAnalyser
  237. def line: Doc

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

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  239. def linebreak: Doc

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

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

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

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

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

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

    Definition Classes
    TripleEquals → TripleEqualsSupport
  246. def lparen: Doc

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

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

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

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

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

    Definition Classes
    CompilerWithConfig → CompilerBase
  252. def mark[T](p: Parser[String]): Parser[Marker]

    Definition Classes
    PositionedParserUtilities
  253. def markup: Documenter

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Documenting
  254. def maxDiscarded(value: Int): MaxDiscarded

    Definition Classes
    Configuration
  255. def maxSize(value: Int): MaxSize

    Definition Classes
    Configuration
  256. val maxlanglevel: Int

    The maximum language level we support.

    The maximum language level we support.

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

    Definition Classes
    PackratParsers
  258. def minSize(value: Int): MinSize

    Definition Classes
    Configuration
  259. def minSuccessful(value: Int): MinSuccessful

    Definition Classes
    Configuration
  260. def minus: Doc

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

    Definition Classes
    Parsers
  262. 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
  263. lazy val moduledecl: Parser[ModuleDecl]

    Definition Classes
    SyntaxAnalyser
  264. val nameCounter: Counter

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

    Definition Classes
    SyntaxAnalyser
  266. def nanoToMs(nano: Long): Long

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

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

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

    Definition Classes
    Suite → AbstractSuite
  270. def nesting(f: (Int) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  271. def noparens(inner: PrettyOperatorExpression, outer: PrettyOperatorExpression, side: Side): Boolean

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

    Definition Classes
    Parsers
  273. def note: Notifier

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

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

    Definition Classes
    AnyRef
  276. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

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

    Definition Classes
    SourcePrettyPrinter
  278. lazy val optelse: Parser[Option[Block]]

    Definition Classes
    SyntaxAnalyser
  279. def output(str: String): Unit

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

    Definition Classes
    Values
  281. def padto(p: Int, d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  282. def padtobreak(p: Int, d: Doc): Doc

    Definition Classes
    PrettyPrinterBase
  283. def parens(d: Doc): Doc

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    ParserUtilities
  296. 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
  297. def parseString[T](parser: Parser[T], str: String): Either[T, String]

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

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

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

    Definition Classes
    PackratParsers
  301. var parsingWhitespace: Boolean

    Attributes
    protected
    Definition Classes
    WhitespaceParser
  302. def pending: PendingNothing

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

    Definition Classes
    Suite
  304. def percent: Doc

    Definition Classes
    PrettyPrinterBase
  305. def percent(v: Long, total: Long): String

    Definition Classes
    Profiler
  306. def phrase[T](p: Parser[T]): PackratParser[T]

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

    Definition Classes
    PrettyPrinterBase
  308. def plus: Doc

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

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

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

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

    Definition Classes
    PrettyPrinterBase
  313. def prettyprint(ast: ModuleDecl): String

    Definition Classes
    CompilerBase
  314. def printDependencyGraph(record: Record, dim: Dimension): Unit

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

    Definition Classes
    Profiler
  316. var printTables: Boolean

    Definition Classes
    Values
  317. 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
  318. def processast(ast: ModuleDecl, config: Oberon0Config): ModuleDecl

    Process the AST, returning the new one.

    Process the AST, returning the new one. By default, return the AST unchanged.

    Definition Classes
    FrontEndDriver
  319. 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
  320. def processfiles(filenames: Seq[String], config: Oberon0Config): Unit

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

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

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

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

    Definition Classes
    Profiler
  325. def profileStopInteractive(): Unit

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

    Definition Classes
    PrettyPrinterBase
  327. def question: Doc

    Definition Classes
    PrettyPrinterBase
  328. def rangle: Doc

    Definition Classes
    PrettyPrinterBase
  329. def rbrace: Doc

    Definition Classes
    PrettyPrinterBase
  330. def rbracket: Doc

    Definition Classes
    PrettyPrinterBase
  331. implicit def regex(r: Regex): Parser[String]

    Definition Classes
    WhitespaceParser → RegexParsers
  332. final def registerIgnoredTest(testText: String, testTags: Tag*)(testFun: ⇒ Unit): Unit

    Definition Classes
    FunSuiteLike → TestRegistration
  333. final def registerTest(testText: String, testTags: Tag*)(testFun: ⇒ Unit): Unit

    Definition Classes
    FunSuiteLike → TestRegistration
  334. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  335. 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.

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

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

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

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

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

    Definition Classes
    Suite → AbstractSuite
  341. def resetEnvironments(): Unit

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

    Definition Classes
    ParserUtilities
  343. 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
  344. def rootconstexpDef: (Expression) ⇒ Boolean

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

    Definition Classes
    Environments
  346. def rparen: Doc

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

    Definition Classes
    BeforeAndAfterAll → SuiteMixin
  348. 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
  349. def runNestedSuites(args: Args): Status

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

    Attributes
    protected
    Definition Classes
    BeforeAndAfter → SuiteMixin
  351. def runTests(testName: Option[String], args: Args): Status

    Attributes
    protected
    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  352. 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
  353. 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
  354. def semi: Doc

    Definition Classes
    PrettyPrinterBase
  355. def semisep(l: Seq[SourceTree], 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
    SourcePrettyPrinter
  356. def sep(ds: Seq[Doc]): Doc

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

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

    Definition Classes
    SyntaxAnalyser
  359. def skipWhitespace: Boolean

    Definition Classes
    WhitespaceParser → RegexParsers
  360. def softbreak: Doc

    Definition Classes
    PrettyPrinterBase
  361. def softline: Doc

    Definition Classes
    PrettyPrinterBase
  362. def space: Doc

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

    Definition Classes
    PrettyPrinterBase
  364. def squote: Doc

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

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

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

    Definition Classes
    Profiler → Values
  368. var startTime: Long

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

    Definition Classes
    SyntaxAnalyser
  370. def statementDef: PackratParser[Statement]

  371. lazy val statementSequence: Parser[Block]

    Definition Classes
    SyntaxAnalyser
  372. lazy val statements: Parser[Block]

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

    Definition Classes
    SyntaxAnalyser
  374. def sterm(ds: Seq[Doc], term: Doc): Doc

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

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

    Definition Classes
    ParserUtilities
  377. final val styleName: String

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

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

    Definition Classes
    Parsers
  380. def suiteId: String

    Definition Classes
    Suite
  381. def suiteName: String

    ScalaTest by default only shows the unqualified class name when it displays the name of the suite.

    ScalaTest by default only shows the unqualified class name when it displays the name of the suite. If a suite class name is used in more than one package we can't tell them apart. Here we override the name that is printed so that we get a project relative source file name as well.

    This definition assumes that the test suite resides in the library project, that the name of the suite class is the same as the basename of the file and that the file is located in the folder given by the package name.

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

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

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

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

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

    Definition Classes
    A2bPhases
  387. lazy val term: PackratParser[Expression]

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

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

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

    Definition Classes
    FunSuiteLike → Suite → AbstractSuite
  391. 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
  392. def testsFor(unit: Unit): Unit

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

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  394. def tilde: Doc

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

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

    The type of an expression.

    The type of an expression.

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

    Definition Classes
    TypeAnalyser
  398. def toDoc(n: SourceTree): Doc

  399. def toParenDoc(e: PrettyExpression): Doc

    Definition Classes
    SourcePrettyPrinter → ParenPrettyPrinter
  400. def toString(): String

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

    Definition Classes
    Profiler
  402. def trap[T](f: ⇒ T): Throwable

    Definition Classes
    Assertions
  403. lazy val trueConstant: IntegerValue

    Built-in true constant.

    Built-in true constant.

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

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

    The actual type that a user type denotes.

    The actual type that a user type denotes.

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

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

    Definition Classes
    SyntaxAnalyser
  408. lazy val typedef: PackratParser[TypeDef]

    Definition Classes
    SyntaxAnalyser
  409. def typedefDef: PackratParser[TypeDef]

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

    Definition Classes
    TripleEquals → TripleEqualsSupport
  411. def underscore: Doc

    Definition Classes
    PrettyPrinterBase
  412. 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
  413. def value(v: Any): Doc

    Definition Classes
    PrettyPrinterBase
  414. 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
  415. def valueToString(a: Value): String

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

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

    Definition Classes
    SyntaxAnalyser
  418. def vcat(ds: Seq[Doc]): Doc

    Definition Classes
    PrettyPrinterBase
  419. def verticalbar: Doc

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

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

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

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

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

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

    Definition Classes
    SyntaxAnalyser
  426. val whiteSpace: Regex

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

    Definition Classes
    SyntaxAnalyser → WhitespaceParser
  428. def width(d: Doc, f: (Int) ⇒ Doc): Doc

    Definition Classes
    PrettyPrinterBase
  429. def withClue[T](clue: Any)(fun: ⇒ T): T

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

    Attributes
    protected
    Definition Classes
    Suite → AbstractSuite
  431. def workers(value: Int): Workers

    Definition Classes
    Configuration
  432. def wrap[T, U](p: ⇒ Parser[T], f: (T) ⇒ Either[U, String]): Parser[U]

    Definition Classes
    ParserUtilities

Deprecated Value Members

  1. def afterAll(configMap: ConfigMap): Unit

    Attributes
    protected
    Definition Classes
    BeforeAndAfterAll
    Annotations
    @deprecated
    Deprecated

    Please use the afterAll(ConfigMap) method of trait BeforeAndAfterAllConfigMap instead.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. def beforeAll(configMap: ConfigMap): Unit

    Attributes
    protected
    Definition Classes
    BeforeAndAfterAll
    Annotations
    @deprecated
    Deprecated

    Please use the beforeAll(ConfigMap) method of trait BeforeAndAfterAllConfigMap instead.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. def lastNoSuccess: NoSuccess

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

  12. def lastNoSuccess_=(x: NoSuccess): Unit

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

  13. 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 Tests

Inherited from Checkers

Inherited from Configuration

Inherited from BeforeAndAfterAll

Inherited from BeforeAndAfter

Inherited from SuiteMixin

Inherited from FunSuiteLike

Inherited from Documenting

Inherited from Alerting

Inherited from Notifying

Inherited from Informing

Inherited from TestRegistration

Inherited from Suite

Inherited from Serializable

Inherited from AbstractSuite

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from A2bPhases

Inherited from TypeAnalyser

Inherited from TypeAnalyser

Inherited from TypeAnalyser

Inherited from NameAnalyser

Inherited from NameAnalyser

Inherited from SymbolTable

Inherited from SymbolTable

Inherited from Environments

Inherited from Analyser

Inherited from SourcePrettyPrinter

Inherited from SourcePrettyPrinter

Inherited from SourcePrettyPrinter

Inherited from SourcePrettyPrinter

Inherited from ParenPrettyPrinter

Inherited from PrettyPrinter

Inherited from PrettyPrinterBase

Inherited from SyntaxAnalyser

Inherited from SyntaxAnalyser

Inherited from SyntaxAnalyser

Inherited from SyntaxAnalyser

Inherited from WhitespacePositionedParserUtilities

Inherited from PositionedParserUtilities

Inherited from WhitespaceParser

Inherited from ParserUtilities

Inherited from PackratParsers

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 AnyRef

Inherited from Any

Ungrouped