mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
This reverts commit f6d0f62622.
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/op/unary
|
||||
precedence=OOP_UNARY
|
||||
|
||||
/*
|
||||
@@ -16,7 +16,7 @@
|
||||
!true = false and !false = true
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/LogicalNot
|
||||
/node/expression/op/unary/LogicalNot
|
||||
name="logical not"
|
||||
|
||||
/*
|
||||
@@ -27,7 +27,7 @@
|
||||
~10 (decimal 2) = 01 (decimal 1).
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/BitwiseNot
|
||||
/node/expression/op/unary/BitwiseNot
|
||||
name="bitwise not"
|
||||
|
||||
/*
|
||||
@@ -35,7 +35,7 @@
|
||||
Returns -x.
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/Minus
|
||||
/node/expression/op/unary/Minus
|
||||
name="minus"
|
||||
|
||||
/*
|
||||
@@ -43,9 +43,9 @@
|
||||
A special unary operator representing a value in parentheses.
|
||||
*/
|
||||
//
|
||||
/node/expression/operator/unary/group
|
||||
/node/expression/op/unary/group
|
||||
precedence=OOP_GROUP
|
||||
|
||||
/node/expression/operator/unary/New(node/expression/exp)
|
||||
/node/expression/op/unary/New(node/expression/exp)
|
||||
src.exp=exp
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user