|
kiama 0.9.0 API
|
|
kiama/example/til/TIL1_1.scala]
trait
TIL1_1
extends ParsingMain| Type Summary | |
type
|
Root
The root type of the AST being processed.
|
| Value Summary | |
lazy val
|
assignment_statement : Parser[Assign] |
lazy val
|
comment : Parser[scala.List[Char]] |
lazy val
|
declaration : Parser[Decl] |
lazy val
|
endofline : Parser[Any] |
lazy val
|
expression : MemoParser[Exp] |
lazy val
|
factor : MemoParser[Exp] |
lazy val
|
for_statement : Parser[For] |
lazy val
|
identifier : Parser[Id] |
lazy val
|
if_statement
: Parser[scala.Product with Stat]
|
lazy val
|
integer : Parser[Num] |
lazy val
|
keyword : Parser[java.lang.String] |
override lazy val
|
layout : Parser[scala.List[Nothing]] |
lazy val
|
parse
: Parser[Program]
Parse a file, returning an AST.
|
lazy val
|
primary : MemoParser[Exp] |
lazy val
|
program : Parser[Program] |
lazy val
|
read_statement : Parser[Read] |
lazy val
|
statement : Parser[Stat] |
lazy val
|
string : Parser[Str] |
lazy val
|
term : MemoParser[Exp] |
lazy val
|
while_statement : Parser[While] |
lazy val
|
write_statement : Parser[Write] |
| 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 |
| Methods inherited from ParsingMain | |
| process |
| 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 |
| Value Details |
lazy val
if_statement : Parser[scala.Product with Stat]
lazy val
expression : MemoParser[Exp]
lazy val
term : MemoParser[Exp]
lazy val
factor : MemoParser[Exp]
lazy val
primary : MemoParser[Exp]
lazy val
keyword : Parser[java.lang.String]
lazy val
comment : Parser[scala.List[Char]]
override
lazy val
layout : Parser[scala.List[Nothing]]
|
kiama 0.9.0 API
|
|