Syntax checking/Parser: Difference between revisions

From EiffelStudio: an EiffelSoftware project
Jump to navigation Jump to search
Maser (talk | contribs)
No edit summary
 
Maser (talk | contribs)
No edit summary
Line 7: Line 7:
====ERROR====
====ERROR====
* deferred; superclass of all error types like EIFFEL_ERROR or SYNTAX_ERROR
* deferred; superclass of all error types like EIFFEL_ERROR or SYNTAX_ERROR
* features line, column: INTEGER give location of error
====ERROR_HANDLER====
====ERROR_HANDLER====
* feature error_list: ERROR is a list of errors found by the parser
* feature error_list: ERROR is a list of errors found by the parser
====SHARED_ERROR_HANDLER====
====SHARED_ERROR_HANDLER====
* singleton
====EIFFEL_CLASS_C====
====EIFFEL_CLASS_C====
* features build_ast and parse_ast show how the parser can be used.
* features build_ast and parse_ast show how the parser can be used.

Revision as of 13:55, 16 May 2006

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

EIFFEL_CLASS_C

  • features build_ast and parse_ast show how the parser can be used.