Download Version3.0 Manual

Transcript
3.6.3 ANALYSIS MENU
The options in the analysis menu are used to perform the basic operation such as checking of correctness
and view properties of these mscs. The following options are available to the user:
3.6.3.1 Syntax Analysis
The results of the syntax analysis are displayed in the Result window. They are displayed in a hierarchical
fashion. In case of mistake, the reason is also mentioned. If the syntax analysis is not successful, property
analysis cannot be performed. The log area displays messages whether any Syntax Error has occurred.
The reported errors are syntax errors, MSCs that are references but not used, messages that are sent but not
received in basic MSCs, etc. When a syntax error occurs, a error message indicating the line of the error
and the expected keyword in also displayed.
Figure 22 shows the result of a Syntax Analysis on the file sp3.hmsc which is provided in the examples
folder. Figure 23 shows the result when syntax analysis is performed on the incorrect_match.hmsc file in the
examples folder. It shows the message that mscs req1 and requ although have been referenced are not
defined.