The VM* Wiki

Official documentation for the VM* family of model manipulation languages.

User Tools

Site Tools


vmtl:annotations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
vmtl:annotations [2015/09/22 16:59]
rvac [Special Variables]
vmtl:annotations [2015/09/22 17:02] (current)
rvac [Special Variables]
Line 53: Line 53:
 |''​id''​ | String | Annotated element | Stores an optional user-defined pattern element identifier in order to facilitate the identification of corresponding elements across patterns. | Find, Produce, Update, Require, Forbid | ''​id := "​1"''​ | |''​id''​ | String | Annotated element | Stores an optional user-defined pattern element identifier in order to facilitate the identification of corresponding elements across patterns. | Find, Produce, Update, Require, Forbid | ''​id := "​1"''​ |
 |''​injective''​ | Boolean | Rule | If the value of this special variable is ''​true'',​ each pattern element can be matched to at most one source model element. Otherwise, each pattern element can be matched to several source model elements. | Find, Produce, Update, Require, Forbid | ''​injective := true'' ​ | |''​injective''​ | Boolean | Rule | If the value of this special variable is ''​true'',​ each pattern element can be matched to at most one source model element. Otherwise, each pattern element can be matched to several source model elements. | Find, Produce, Update, Require, Forbid | ''​injective := true'' ​ |
-| ''​priority''​ | Integer | Rule | Determines the application priority of a VMTL rule. The default value of this special variable is 0and higher ​values ​corresponding to higher execution ​priorities. | Find, Produce, Update, Require, Forbid | ''​priority := 1''​ |+| ''​priority''​ | Integer | Rule | Determines the application priority of a rule. Only positive values are allowedwith lower values ​implying a higher execution ​priority. The default rule priority is ∞.| Find, Produce, Update, Require, Forbid | ''​priority := 1''​ |
 | ''​self''​ | Element | Annotated element | Represents the annotated model element. | Find, Produce, Update, Require, Forbid | ''​self.visibility := "​public"''​ | | ''​self''​ | Element | Annotated element | Represents the annotated model element. | Find, Produce, Update, Require, Forbid | ''​self.visibility := "​public"''​ |
 | ''​type''​ | String | Annotated element | Provides access to the name of the annotated model element'​s metaclass. Assigning a new value to this special variable modifies the annotated model element'​s metaclass. | Find, Produce, Update, Require, Forbid | ''​type := "​Actor"''​ | | ''​type''​ | String | Annotated element | Provides access to the name of the annotated model element'​s metaclass. Assigning a new value to this special variable modifies the annotated model element'​s metaclass. | Find, Produce, Update, Require, Forbid | ''​type := "​Actor"''​ |
vmtl/annotations.txt · Last modified: 2015/09/22 17:02 by rvac