Update alarm expression BNF documentation
Change-Id: Ic33cdadbd9d7d9402c860a8d17dd81c62decc744
This commit is contained in:
parent
6d9f85c90c
commit
4b70c20b45
|
@ -88,14 +88,14 @@ An alarm expression is a boolean equation which if it evaluates to true with the
|
|||
|
||||
### Syntax
|
||||
|
||||
At the highest level, you have an expression, which is made up of one or more subexpressions, joined by boolean operators. Parenthesis can be used around groups of subexpressions to indicated higher precedence. In a BNF style format where items enclosed in [] are optional, '*' means zero or more times, and '|' means or:
|
||||
At the highest level, you have an expression, which is made up of one or more subexpressions, joined by boolean operators. Parenthesis can be used around groups of subexpressions to indicated higher precedence. In a BNF style format where items enclosed in [] are optional, '*' means zero or more times, and '|' means or.
|
||||
|
||||
````
|
||||
<expression>
|
||||
::= <subexpression> [(and | or) <subexpression>]*
|
||||
````
|
||||
|
||||
More formally, taking boolean operator precedence into account results in the following.
|
||||
More formally, taking boolean operator precedence into account, where 'and' has higher precedence than 'or', results in the following.
|
||||
|
||||
````
|
||||
<expression>
|
||||
|
|
Loading…
Reference in New Issue