Syntax checking/SRS: Difference between revisions

From EiffelStudio: an EiffelSoftware project
Jump to navigation Jump to search
Jabernet (talk | contribs)
No edit summary
Jabernet (talk | contribs)
No edit summary
Line 3: Line 3:


= Parser =
= Parser =
# Should only parse when neccessary, using timer function or after certain input (like spaces, enter)
# Should only parse when neccessary, using timer function or after certain input (like spaces, enter)
# Provide errors in adequate datastructure to visualisation components (linenumber, type of error, further information)
  (to be further specified )
#
# Provide errors in adequate datastructure to visualisation components (linenumber, type of error, further information)
# On error, parser should call event handler provided by visualization components
 
= Visualization =
# Provides event handler and register it to parser error-event
# Underline syntax errors using a (preferably wavy) red line
# On mouse over, show information on error
# Information window could be clickabel to provide further error information

Revision as of 15:52, 2 May 2006

Goal

Provide adequate, but non intrusive feedback to user about syntax errors.

Parser

# Should only parse when neccessary, using timer function or after certain input (like spaces, enter)
  (to be further specified )
# Provide errors in adequate datastructure to visualisation components (linenumber, type of error, further information)
# On error, parser should call event handler provided by visualization components

Visualization

# Provides event handler and register it to parser error-event
# Underline syntax errors using a (preferably wavy) red line
# On mouse over, show information on error
# Information window could be clickabel to provide further error information