-
-
Notifications
You must be signed in to change notification settings - Fork 36
Text format
psiinon edited this page Jun 13, 2013
·
1 revision
The plan is to define a standard text representation for all Zest elements (https://github.com/mozilla/zest/issues/23).
This is a 'work in progress' page which defines what that representation could look like. Note that it includes elements that have now yet been written :)
Oh, and its very incomplete!
Element | Representation | Notes |
---|---|---|
ActionFail | ACTION Fail ( message ) | |
ActionScan | ACTION Scan ([ target ]) | Target is optional |
Assert | ASSERT element [equals / contains / matches] value | Will require some rework;) |
Assign | ASSIGN token [equals / contains / matches] value | Will require some rework;) |
Condition | IF condition THEN | Statements on the next line indented |
ELSE | Must follow an IF, statements indented as well |