|
||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
Parser
implements a top-down-parser for the PL0-language. e
and a Scanner
s
.
Pl0 -> "MODULE" ident ";" Declarations ["BEGIN" StatementSequence]
"END" ident "."
- position -
Variable in class itec.minicompiler.Scanner
- The next position in
sourceCode
(column number)
- printErrors() -
Method in class itec.minicompiler.ErrorHandler
- Print the total number of errors reported by the
ErrorHandler
on
the standard output device (by System.out.print
).
- procedureBody() -
Method in class itec.minicompiler.Parser
- Implements the grammar-rule:
ProcedureBody -> Declarations ["BEGIN" StatementSequence] "END"
- procedureCall() -
Method in class itec.minicompiler.Parser
- Implements the grammar-rule:
ProcedureCall -> "(" [ActualParameters] ")"
- procedureDeclaration() -
Method in class itec.minicompiler.Parser
- Implements the grammar-rule:
ProcedureDeclaration -> ProcedureHeading ";" ProcedureBody ident
- procedureHeading() -
Method in class itec.minicompiler.Parser
- Implements the grammar-rule:
ProcedureHeading -> "PROCEDURE" ident "(" [FormalParameters] ")"
|
||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |