ExpressionList:
)
ExpressionList1
ExpressionList1:
Expression1 ExpressionList2
ExpressionList2:
ExpressionList3
Expression2 ExpressionList2
Operation ExpressionList1
ExpressionList3:
)
, ExpressionList
ExpressionSemicolon:
;
ExpressionSemicolon1
ExpressionSemicolon1:
Expression1 ExpressionSemicolon2
ExpressionSemicolon2:
;
Expression2 ExpressionSemicolon2
Operation ExpressionSemicolon1
ExpressionParenthesisClose:
)
ExpressionParenthesisClose1
ExpressionParenthesisClose1:
Expression1 ExpressionParenthesisClose2
ExpressionParenthesisClose2:
)
Expression2 ExpressionParenthesisClose2
Operation ExpressionParenthesisClose1
ExpressionBracesClose:
}
ExpressionBracesClose1
ExpressionBracesClose1:
Expression1 ExpressionBracesClose2
ExpressionBracesClose2:
}
Expression2 ExpressionBracesClose2
Operation ExpressionBracesClose1
Expression1:
true
false
Name
Number
DataType
+ Expression1
- Expression1
! Expression1
++ Expression1
-- Expression1
( ExpressionParenthesisClose1
Expression2:
( ExpressionList
Operation:
|
&
==
!=
>
<<
>=
<=
+
-
*
/
%
=
*=
/=
%=
+=
-=
&=
^=
|=
Синтаксис выражений во многом похож на синтаксис С++.
Одно из отличий - отсутствуют постфиксные операции '++' и '--'.
Наверх