org.kiama.example.oberon0.drivers

A2aTests

class A2aTests extends A2aPhases with TestDriver

Annotations
@RunWith()
Linear Supertypes
TestDriver, TestCompiler[ModuleDecl], FunSuite, Suite, Serializable, AbstractSuite, Assertions, A2aPhases, 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, Driver, PrettyPrinter, PrettyPrinterBase, Compiler[ModuleDecl], RegexCompiler[ModuleDecl], RegexParsers, Parsers, CompilerBase[ModuleDecl], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. A2aTests
  2. TestDriver
  3. TestCompiler
  4. FunSuite
  5. Suite
  6. Serializable
  7. AbstractSuite
  8. Assertions
  9. A2aPhases
  10. NameAnalyser
  11. SymbolTable
  12. NameAnalyser
  13. NameAnalyser
  14. SymbolTable
  15. SymbolTable
  16. Environments
  17. Analyser
  18. PrettyPrinter
  19. PrettyPrinter
  20. PrettyPrinter
  21. PrettyPrinter
  22. PrettyPrinter
  23. SourcePrettyPrinter
  24. ParenPrettyPrinter
  25. Parser
  26. Parser
  27. Parser
  28. Parser
  29. Parser
  30. WhitespacePositionedParserUtilities
  31. PositionedParserUtilities
  32. WhitespaceParser
  33. ParserUtilities
  34. PackratParsers
  35. Driver
  36. PrettyPrinter
  37. PrettyPrinterBase
  38. Compiler
  39. RegexCompiler
  40. RegexParsers
  41. Parsers
  42. CompilerBase
  43. AnyRef
  44. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new A2aTests()

Type Members

  1. trait Builtin extends Named

    Marker trait for all built-in entities.

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

    A built-in procedure with its parameter information.

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

  5. class Doc extends ((output.PrettyPrinter.Indent, output.PrettyPrinter.Width)) ⇒ ((Int, Queue[(Int, (Boolean) ⇒ ((Int) ⇒ output.PrettyPrinter.Layout) ⇒ (Int) ⇒ output.PrettyPrinter.Layout)]) ⇒ (Int) ⇒ output.PrettyPrinter.Layout) ⇒ (Int, Queue[(Int, (Boolean) ⇒ ((Int) ⇒ output.PrettyPrinter.Layout) ⇒ (Int) ⇒ output.PrettyPrinter.Layout)]) ⇒ (Int) ⇒ output.PrettyPrinter.Layout with output.PrettyPrinter.DocOps

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  6. trait DocOps extends AnyRef

    Definition Classes
    PrettyPrinterBase
  7. type Elem = Char

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

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

    Definition Classes
    Environments
  10. final class Equalizer extends AnyRef

    Definition Classes
    Assertions
  11. case class Error extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  12. trait ErrorEntity extends Entity

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

    Definition Classes
    Parsers
  14. type Indent = Int

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

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

  17. type Layout = String

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

    A user-defined module represented by a module declaration.

  19. trait Named extends AnyRef

    Definition Classes
    Environments
  20. trait NamedEntity extends Entity with Named

    Definition Classes
    Environments
  21. trait NoArgTest extends () ⇒ Unit with TestData

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

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

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

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

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

    Information about a particular parameter.

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

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

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

    Definition Classes
    Parsers
  30. trait PrettyPrintable extends AnyRef

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

    A procedure entity represented by a procedure declaration.

  32. type Scope = Map[String, Entity]

    Definition Classes
    Environments
  33. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Definition Classes
    Parsers
  34. abstract class Type extends Entity

    An entity representing by a user-provided type declaration.

  35. case class UserType(ident: String, tipe: TypeDecl) extends Type with Named with Product with Serializable

    A user-defined type.

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

  37. type Width = Int

    Definition Classes
    PrettyPrinterBase
  38. 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. final def ##(): Int

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

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

    Definition Classes
    Any
  6. object MultipleEntity extends Entity with ErrorEntity with Product with Serializable

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

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

    Definition Classes
    PositionedParserUtilities → Parsers
  9. object UnknownEntity extends Entity with ErrorEntity with Product with Serializable

    Definition Classes
    Environments
  10. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

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

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

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

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

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

    Definition Classes
    Parsers
  16. def angles(d: Doc): Doc

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

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

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

    Definition Classes
    PrettyPrinterBase
  20. def artefact: String

    The name of this artefact.

    The name of this artefact.

    Definition Classes
    A2aPhasesDriver
  21. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  22. def assert(o: Option[String]): Unit

    Definition Classes
    Assertions
  23. def assert(o: Option[String], clue: Any): Unit

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

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

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

    Definition Classes
    Parser
  27. def assume(o: Option[String]): Unit

    Definition Classes
    Assertions
  28. def assume(o: Option[String], clue: Any): Unit

    Definition Classes
    Assertions
  29. def assume(condition: Boolean, clue: Any): Unit

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

    Definition Classes
    Assertions
  31. def backslash: Doc

    Definition Classes
    PrettyPrinterBase
  32. lazy val block: Parser[Block]

    Definition Classes
    Parser
  33. 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
  34. lazy val booleanType: BuiltinType

    Built-in Boolean type.

    Built-in Boolean type.

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

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

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

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

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

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

    Definition Classes
    Assertions
  41. def cancel(): Nothing

    Definition Classes
    Assertions
  42. lazy val caseStatement: Parser[CaseStatement]

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

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

    Definition Classes
    Parser
  45. def casesToDoc(l: List[Case]): Doc

    Definition Classes
    PrettyPrinter
  46. def cat(ds: Seq[Doc]): Doc

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

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

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

    Definition Classes
    Parsers
  50. var challengeFlag: Boolean

    Definition Classes
    Driver
  51. val challengeFlagDefault: Boolean

    Definition Classes
    Driver
  52. implicit def char(c: Char): Doc

    Definition Classes
    PrettyPrinterBase
  53. 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
    NameAnalyserNameAnalyserAnalyser
  54. 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
  55. def checkargs(args: Array[String], emitter: Emitter): Array[String]

    Process the command-line arguments and return an array of the input file names if processing should continue, None otherwise.

    Process the command-line arguments and return an array of the input file names if processing should continue, None otherwise.

    Definition Classes
    Driver → CompilerBase
  56. def clone(): AnyRef

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

    Definition Classes
    PrettyPrinterBase
  58. def comma: Doc

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

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

    Definition Classes
    Parsers
  61. def compile(args: Array[String], console: Console): String

    Definition Classes
    CompilerBase
  62. lazy val condition: Parser[Condition with Serializable]

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

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

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

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

    Definition Classes
    ParserUtilities
  67. 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
  68. 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
  69. lazy val constdecl: Parser[ConstDecl]

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

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

    Definition Classes
    ParserUtilities
  72. def consumeast(ast: ModuleDecl, console: Console, emitter: Emitter): Unit

    Consume the AST.

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

    Definition Classes
    Driver
  73. implicit def convertToEqualizer(left: Any): Equalizer

    Definition Classes
    Assertions
  74. lazy val declarations: PackratParser[List[Declaration]]

    Definition Classes
    Parser
  75. def declarationsDef: PackratParser[List[Declaration with Serializable]]

    Definition Classes
    ParserParserParser
  76. def declsToDoc(ds: List[Declaration]): Doc

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

    Definition Classes
    PrettyPrinterPrettyPrinter
  78. val defaultIndent: Int

    Definition Classes
    PrettyPrinterBase
  79. val defaultWidth: Int

    Definition Classes
    PrettyPrinterBase
  80. def defenv: Environment

    The default environment.

    The default environment.

    Definition Classes
    SymbolTable
  81. def defenvPairs: List[(String, Entity)]

    The default environment with pre-defined procedures added.

    The default environment with pre-defined procedures added.

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

    Definition Classes
    Environments
  83. 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
    TestCompiler
  84. def dot: Doc

    Definition Classes
    PrettyPrinterBase
  85. def dquote: Doc

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

    Definition Classes
    PrettyPrinterBase
  87. def driver(args: Array[String], console: Console, emitter: Emitter): 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
    Driver → CompilerBase
  88. def elem(e: Elem): Parser[Elem]

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

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

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

    Definition Classes
    Parser
  92. def empty: Doc

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

    Definition Classes
    PrettyPrinterBase
  94. def enter(env: Environment): Environment

    Definition Classes
    Environments
  95. 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
  96. 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
  97. 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
  98. def envin(in: (SourceASTNode) ⇒ Environment): ==>[SourceASTNode, Environment]

    Definition Classes
    NameAnalyserNameAnalyser
  99. 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
  100. def envout(out: (SourceASTNode) ⇒ Environment): ==>[SourceASTNode, Environment]

    Definition Classes
    NameAnalyserNameAnalyser
  101. 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
  102. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  103. def equal: Doc

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

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

    Definition Classes
    ParserUtilities → Parsers
  106. final def execute: Unit

    Definition Classes
    Suite
  107. final def execute(testName: String, configMap: Map[String, Any], color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit

    Definition Classes
    Suite
  108. 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
  109. def expectResult(expected: Any)(actual: Any): Unit

    Definition Classes
    Assertions
  110. def expectResult(expected: Any, clue: Any)(actual: Any): Unit

    Definition Classes
    Assertions
  111. def expectedTestCount(filter: Filter): Int

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

    Definition Classes
    Parser
  113. lazy val factor: PackratParser[Expression]

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

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

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

    Definition Classes
    Assertions
  117. def fail(): Nothing

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

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

    Built-in false constant.

    Built-in false constant.

    Definition Classes
    SymbolTable
  120. def filetests(name: String, path: String, srcext: String, resext: String, optinext: Option[String] = None, indefault: String = "", argslist: List[Array[String]] = List (Array ())): 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
    TestCompiler
  121. def fillcat(ds: Seq[Doc]): Doc

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

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

    Definition Classes
    PrettyPrinterBase
  124. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  125. lazy val forStatement: Parser[ForStatement]

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

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

    Definition Classes
    Parser
  128. def forwslash: Doc

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    RegexParsers
  135. def hashCode(): Int

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

    Definition Classes
    PrettyPrinterBase
  137. var helpFlag: Boolean

    Definition Classes
    Driver
  138. val helpFlagDefault: Boolean

    Definition Classes
    Driver
  139. def hsep(ds: Seq[Doc], sep: Doc): Doc

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

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

    Definition Classes
    Parser
  142. def idlistToDoc(ids: List[IdnDef]): Doc

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

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

    Definition Classes
    Parser
  145. lazy val idnuse: Parser[IdnUse]

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

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

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

    Attributes
    protected
    Definition Classes
    FunSuite
  149. implicit def info: Informer

    Attributes
    protected
    Definition Classes
    FunSuite
  150. 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
  151. var input: String

    Definition Classes
    Driver
  152. lazy val integerType: BuiltinType

    Built-in integer type.

    Built-in integer type.

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

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

    Definition Classes
    Parser
  155. 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
  156. 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
  157. def isDefinedInEnv(env: Environment, i: String): Boolean

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

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

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

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

    Definition Classes
    Environments
  162. 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
  163. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. def isVariable(e: Entity): Boolean

    Parameters are variables too.

    Parameters are variables too.

    Definition Classes
    SymbolTableSymbolTable
  170. 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
  171. lazy val kase: Parser[Case]

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

    Definition Classes
    Parser
  173. def keywordStrings: List[String]

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

    Definition Classes
    ParserUtilities
  175. def langle: Doc

    Definition Classes
    PrettyPrinterBase
  176. def langlevel: Int

    Definition Classes
    A2aPhases
  177. def lbrace: Doc

    Definition Classes
    PrettyPrinterBase
  178. def lbracket: Doc

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

    Definition Classes
    Environments
  180. 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
  181. lazy val lhs: PackratParser[Expression]

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

    Definition Classes
    Parser
  183. def line: Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  184. def linebreak: Doc

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

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

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

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

    Definition Classes
    Environments
  189. def lparen: Doc

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

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

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

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

    Definition Classes
    CompilerBase
  194. def makeast(reader: Reader, filename: String, emitter: Emitter): Either[ModuleDecl, String]

    Definition Classes
    RegexCompiler → CompilerBase
  195. implicit def markup: Documenter

    Attributes
    protected
    Definition Classes
    FunSuite
  196. val maxlanglevel: Int

    The maximum language level we support.

    The maximum language level we support.

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

    Definition Classes
    PackratParsers
  198. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

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

    Definition Classes
    Parser
  201. lazy val namedtypedef: Parser[NamedType]

    Definition Classes
    Parser
  202. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Parsers
  207. final def notify(): Unit

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

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

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

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

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

    Definition Classes
    Parser
  213. lazy val optformalParameters: PackratParser[List[FPSection]]

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

    Definition Classes
    Parser
  215. def paramsToDoc(ds: List[Doc], sep: Doc): Doc

    Definition Classes
    PrettyPrinter
  216. def parens(d: Doc): Doc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    PackratParsers
  233. var parsingWhitespace: Boolean

    Attributes
    protected
    Definition Classes
    WhitespaceParser
  234. def pending: PendingNothing

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

    Definition Classes
    Suite
  236. def phrase[T](p: Parser[T]): PackratParser[T]

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

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

    Definition Classes
    WhitespaceParser → RegexParsers → Parsers
  239. var pprintastFlag: Boolean

    Definition Classes
    Driver
  240. val pprintastFlagDefault: Boolean

    Definition Classes
    TestDriver
  241. def pretty(d: Doc, w: Width): Layout

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

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

    Definition Classes
    PrettyPrinterBase
  244. var printastFlag: Boolean

    Definition Classes
    Driver
  245. val printastFlagDefault: Boolean

    Definition Classes
    Driver
  246. lazy val procedureCall: Parser[Call]

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

    Definition Classes
    Parser
  248. def process(ast: ModuleDecl, console: Console, emitter: Emitter): Boolean

    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
    Driver → Compiler → CompilerBase
  249. def processargs(args: List[String]): Boolean

    Definition Classes
    Driver
  250. def processast(ast: ModuleDecl, console: Console, emitter: Emitter): ModuleDecl

    Process the AST, returning the new one.

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

    Definition Classes
    Driver
  251. def rangle: Doc

    Definition Classes
    PrettyPrinterBase
  252. def rbrace: Doc

    Definition Classes
    PrettyPrinterBase
  253. def rbracket: Doc

    Definition Classes
    PrettyPrinterBase
  254. lazy val readProc: BuiltinProc

    The built-in Read procedure.

    The built-in Read procedure.

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

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

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

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

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

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

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

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

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

    Definition Classes
    Suite → AbstractSuite
  264. def resetEnvironments: Unit

    Definition Classes
    Environments
  265. def resetflags(): Unit

    Definition Classes
    Driver
  266. def result[T](v: ⇒ T): Parser[T]

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

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

    Definition Classes
    Environments
  270. def rparen: Doc

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

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

    Definition Classes
    AbstractSuite
  273. def runNestedSuites(args: Args): Unit

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

    Attributes
    protected
    Definition Classes
    FunSuite → Suite → AbstractSuite
  275. def runTests(testName: Option[String], args: Args): Unit

    Attributes
    protected
    Definition Classes
    FunSuite → Suite → AbstractSuite
  276. 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
    TestDriverTestCompiler
  277. 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
  278. def semi: Doc

    Definition Classes
    PrettyPrinterBase
  279. def semisep(l: List[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
  280. def sep(ds: Seq[Doc]): Doc

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

    Definition Classes
    Parser
  282. def skipWhitespace: Boolean

    Definition Classes
    WhitespaceParser → RegexParsers
  283. def softbreak: Doc

    Definition Classes
    PrettyPrinterBase
  284. def softline: Doc

    Definition Classes
    PrettyPrinterBase
  285. def space: Doc

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

    Definition Classes
    PrettyPrinterBase
  287. def squote: Doc

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

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

    Definition Classes
    PrettyPrinterBase
  290. lazy val statement: PackratParser[Statement]

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

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

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

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

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

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

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

    Definition Classes
    ParserUtilities
  298. final val styleName: String

    Definition Classes
    FunSuite → Suite → AbstractSuite
  299. def success[T](v: T): Parser[T]

    Definition Classes
    Parsers
  300. def suiteId: String

    Definition Classes
    Suite
  301. def suiteName: String

    Definition Classes
    Suite
  302. def surround(d: Doc, b: Doc): Doc

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

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

    Definition Classes
    FunSuite → Suite → AbstractSuite
  305. def tasklevel: Int

    Definition Classes
    A2aPhases
  306. lazy val term: PackratParser[Expression]

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

    Attributes
    protected
    Definition Classes
    FunSuite
  308. def testNames: Set[String]

    Definition Classes
    FunSuite → Suite → AbstractSuite
  309. def testsFor(unit: Unit): Unit

    Attributes
    protected
    Definition Classes
    FunSuite
  310. implicit def text(t: String): Doc

    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  311. def toDoc(n: SourceASTNode): Doc

  312. def toParenDoc(e: PrettyExpression): Doc

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

    Definition Classes
    AnyRef → Any
  314. lazy val trueConstant: IntegerValue

    Built-in true constant.

    Built-in true constant.

    Definition Classes
    SymbolTable
  315. lazy val typedecl: Parser[TypeDecl]

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

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

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

    Definition Classes
    Parser
  319. 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
  320. def usageMessage: String

    Definition Classes
    Driver
  321. def value(v: Any): Doc

    Definition Classes
    PrettyPrinterBase
  322. 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
  323. lazy val vardecl: Parser[VarDecl]

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

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

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

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

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

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

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

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

    Definition Classes
    Parser
  332. val whiteSpace: Regex

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

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

    Definition Classes
    Assertions
  335. def withFixture(test: NoArgTest): Unit

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

    Definition Classes
    ParserUtilities
  337. lazy val writeProc: BuiltinProc

    The built-in Write procedure.

    The built-in Write procedure.

    Definition Classes
    SymbolTable
  338. lazy val writelnProc: BuiltinProc

    The built-in WriteLn procedure.

    The built-in WriteLn procedure.

    Definition Classes
    SymbolTable

Deprecated Value Members

  1. 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 expectResult instead.

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

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

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

  5. 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 TestCompiler[ModuleDecl]

Inherited from FunSuite

Inherited from Suite

Inherited from Serializable

Inherited from AbstractSuite

Inherited from Assertions

Inherited from A2aPhases

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 Driver

Inherited from PrettyPrinter

Inherited from PrettyPrinterBase

Inherited from Compiler[ModuleDecl]

Inherited from RegexCompiler[ModuleDecl]

Inherited from RegexParsers

Inherited from Parsers

Inherited from CompilerBase[ModuleDecl]

Inherited from AnyRef

Inherited from Any

Ungrouped