Difference between revisions of "Syntax checking/Parser"
m (added link to Syntax checking page) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
[[Syntax_checking|back to Syntax checking page]] | [[Syntax_checking|back to Syntax checking page]] | ||
Revision as of 00:17, 17 May 2006
Contents
Important Classes
EIFFEL_PARSER
- has a feature parse(file)
CLASS_AS
- AST of a class
ERROR
- deferred; superclass of all error types like EIFFEL_ERROR or SYNTAX_ERROR
- features line, column: INTEGER give location of error
ERROR_HANDLER
- feature error_list: ERROR is a list of errors found by the parser
SHARED_ERROR_HANDLER
- singleton used by all relevant classes
EIFFEL_CLASS_C
- features build_ast and parse_ast show how the parser can be used.