mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-15 04:32:14 +00:00
Fixing uses of reserved word operator.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
Class: unary
|
||||
Represents a unary operator in the AST. Unary operators take a single operand (referred to as x below) and return a value.
|
||||
*/
|
||||
/node/expression/operator/unary
|
||||
/node/expression/operator_node/unary
|
||||
precedence=OOP_UNARY
|
||||
|
||||
/*
|
||||
@@ -16,7 +16,7 @@
|
||||
!true = false and !false = true
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/LogicalNot
|
||||
/node/expression/operator_node/unary/LogicalNot
|
||||
name="logical not"
|
||||
|
||||
/*
|
||||
@@ -27,7 +27,7 @@
|
||||
~10 (decimal 2) = 01 (decimal 1).
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/BitwiseNot
|
||||
/node/expression/operator_node/unary/BitwiseNot
|
||||
name="bitwise not"
|
||||
|
||||
/*
|
||||
@@ -35,7 +35,7 @@
|
||||
Returns -x.
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/Minus
|
||||
/node/expression/operator_node/unary/Minus
|
||||
name="minus"
|
||||
|
||||
/*
|
||||
@@ -43,9 +43,9 @@
|
||||
A special unary operator representing a value in parentheses.
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/group
|
||||
/node/expression/operator_node/unary/group
|
||||
precedence=OOP_GROUP
|
||||
|
||||
/node/expression/operator/unary/New(node/expression/exp)
|
||||
/node/expression/operator_node/unary/New(node/expression/exp)
|
||||
src.exp=exp
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user