Syntax
BinaryExpression :
BitwiseOrExpression
Syntax
BitwiseOrExpression :
BitwiseXorExpression
| BitwiseOrExpression Trivia?|
Trivia? BitwiseXorExpression
Syntax
BitwiseXorExpression :
BitwiseAndExpression
| BitwiseXorExpression Trivia?^
Trivia? BitwiseAndExpression
Syntax
BitwiseAndExpression :
EqualityExpression
| BitwiseAndExpression Trivia?&
Trivia? EqualityExpression
Syntax
EqualityExpression :
RelationalExpression
| {
EqualityExpression
Trivia? equalityOperator
Trivia? RelationalExpression
}equalityOperator :
==
|!=
|===
|!==
Syntax
RelationalExpression :
ShiftExpression
| {
RelationalExpression
Trivia? relationalOperator
Trivia? ShiftExpression
}relationalOperator :
<
|>
|<=
|>=
|instanceof
|in
Syntax
ShiftExpression :
AdditiveExpression
| {
ShiftExpression
Trivia? shiftOperator
Trivia? AdditiveExpression
}shiftOperator :
<<
|>>
|>>>
Syntax
AdditiveExpression :
MultiplicativeExpression
| {
AdditiveExpression
Trivia? additiveOperator
Trivia? MultiplicativeExpression
}additiveOperator :
+
|-
|add
Syntax
MultiplicativeExpression :
PrefixExpression
| {
MultiplicativeExpression
Trivia? multiplicativeOperator
Trivia? PrefixExpression
}multiplicativeOperator :
*
|/
|%