Difference between revisions of "Language Reference Notation"
Jump to navigation
Jump to search
imported>Jlundin |
(No difference)
|
Revision as of 11:08, 1 November 2011
For simplicity's sake, the pages uses a very simple set of notations to help denote what is a valid Papyrus script. These notations are listed here:
Notation | Meaning |
---|---|
'text' | Denotes text that should exist exactly in the definition, like a keyword or operator. |
<text> | Denotes some element for which there is another reference page. For example, "<identifier>" would indicate any valid Papyrus identifier could go there. |
[ ] | Surrounds an optional element. It can exist, or not exist, but not more then one of them. |
( ) | Groups items together, just like in mathematics. |
+ | Means that there needs to be one or more of the preceding item |
* | Denotes that there should be zero or more of the preceding item |
::= | Separates the name of the rule on the left with the rule's definition on the right |