next up previous contents index
Next: 4.2.2 State Hierarchy Up: 4.2 Textual Syntax Previous: 4.2 Textual Syntax   Contents   Index

4.2.1 Descriptors

A model description consists of several parts, each of which starts with a descriptor, such as STATECHART and TRANSITION. A model may specify the same descriptor many times.

In the text file of a model description, a descriptor is a single line with an ending colon ``:''. All the following lines pertain to that descriptor until a new descriptor appears. Empty lines are lines that contain only spaces, tabs and/or comments (see below). Empty lines are automatically ignored.

Descriptor STATECHART is necessary for every model, which defines the state hierarchy. As least one default state must be defined for the hierarchy. Other descriptors are optional.

Thomas Huining Feng 2004-04-28