Fixing uses of reserved word operator.

This commit is contained in:
MistakeNot4892
2024-01-18 10:45:14 +11:00
parent 6866ce9fdf
commit 8e2bd55ab4
9 changed files with 102 additions and 102 deletions

View File

@@ -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 ..()