|
kiama 0.9.0 API
|
|
kiama/example/til/ParsingMain.scala]
trait
ParsingMain
extends Main with CharPackratParsers| Type Summary | |
abstract type
|
Root
The root type of the AST being processed.
|
| 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 |
| Method Summary | |
abstract def
|
parse
: Parser[Root]
Parse a file, returning an AST.
|
def
|
process
(reader : java.io.Reader) : Any
Process the file given by the argument reader by parsing it
and returning the resulting AST.
|
| 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 |
| Type Details |
| Method Details |
def
process(reader : java.io.Reader) : Any
|
kiama 0.9.0 API
|
|