kiama.example.imperative

trait TestBase

[source: kiama/example/imperative/TestBase.scala]

trait TestBase
extends Generator with Parser with PrettyPrinter
Basis for tests using the imperative language. Includes support for generating random AST instances plus convenient access to the parser and pretty-printer.
Values and Variables inherited from Parser
parse, stmt, asgnStmt, whileStmt, sequence, exp, term, factor, double, integer, variable, idn, keyword
Values and Variables inherited from CharParsers
whitespace, layout, digit, letter, letterOrDigit
Values and Variables inherited from PackratParsers
heads, LRStack
Values and Variables inherited from Parsers
any
Values and Variables inherited from Generator
genInteger, genDouble, genNum, genIdn, genVar, genLeafExp, genLeafStmt
Methods inherited from PrettyPrinter
pretty
Methods inherited from CharParsers
token, phrase, literal, regex, parse, parse, parse, parseAll, parseAll, parseAll
Methods inherited from PackratParsers
rep1, memo
Methods inherited from Parsers
Parser, success, failure, accept, acceptIf, opt, rep, rep1, repN, repsep, rep1sep, and, not
Methods inherited from Generator
arbNum, genNeg, genAdd, genSub, genMul, genDiv, genInternalExp, genExp, arbExp, genSeqn, arbSeqn, genAsgn, arbAsgn, genWhile, arbWhile, genInternalStmt, genStmt, arbStmt
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf