Language Reference Notation

From Creation Kit
Jump to: navigation, search

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 (i.e. the preceding item is optional; it can be omitted)
 ::= Separates the name of the rule on the left with the rule's definition on the right