|
kiama 0.9.0 API
|
|
kiama/example/til/TIL2_2.scala]
trait
TIL2_2
extends TIL1_1 with TransformingMain| Value Summary | |
val
|
fortowhile : Strategy |
| Values and Variables inherited from Rewriter | |
| failure, id, eq, equal, issubterm, ispropersubterm, issuperterm, ispropersuperterm, isleaf, isinnernode |
| Values and Variables inherited from TIL1_1 | |
| parse, program, statement, declaration, assignment_statement, if_statement, while_statement, for_statement, read_statement, write_statement, expression, term, factor, primary, keyword, identifier, integer, string, comment, endofline, layout |
| Values and Variables inherited from CharParsers | |
| whitespace, digit, letter, letterOrDigit |
| Values and Variables inherited from PackratParsers | |
| heads, LRStack |
| Values and Variables inherited from Parsers | |
| any |
| Method Summary | |
override def
|
transform
(ast : Program) : Program
Transform a single AST.
|
| Methods inherited from TransformingMain | |
| process |
| Methods inherited from Rewriter | |
| strategyf, strategy, rulef, rule, termToStrategy, queryf, query, term, para, child, all, one, some, rewrite, collects, collectl, count, attempt, repeat, repeat, repeat, repeat1, repeat1, repeatuntil, loop, loopnot, doloop, loopiter, loopiter, not, where, test, breadthfirst, topdown, topdownS, bottomup, bottomupS, downup, downup, downupS, downupS, dontstop, oncetd, oncebu, sometd, somebu, outermost, innermost, innermost2, reduce, alltd, alldownup2, alltdfold, somedownup, manybu, manytd, leaves, leaves, everywherebu, everywheretd, restore, restorealways, lastly, ior, or, and |
| 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 Main | |
| main, test |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Value Details |
| Method Details |
|
kiama 0.9.0 API
|
|