[MIRROR] Staticpath [MDB ignore] (#12445)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-02-23 00:33:43 +01:00
committed by GitHub
co-authored by Kashargul
parent cc106f8032
commit ba5224fbcb
437 changed files with 5869 additions and 5220 deletions
@@ -7,8 +7,8 @@
Class: binary
Represents a binary operator in the AST. A binary operator takes two operands (ie x and y) and returns a value.
*/
/node/expression/op/binary
var/node/expression/exp2
/datum/node/expression/op/binary
var/datum/node/expression/exp2
////////// Comparison Operators //////////
/*
@@ -16,7 +16,7 @@
Returns true if x = y.
*/
//
/node/expression/op/binary/Equal
/datum/node/expression/op/binary/Equal
precedence=OOP_EQUAL
/*
@@ -24,7 +24,7 @@
Returns true if x and y aren't equal.
*/
//
/node/expression/op/binary/NotEqual
/datum/node/expression/op/binary/NotEqual
precedence=OOP_EQUAL
/*
@@ -32,7 +32,7 @@
Returns true if x > y.
*/
//
/node/expression/op/binary/Greater
/datum/node/expression/op/binary/Greater
precedence=OOP_COMPARE
/*
@@ -40,7 +40,7 @@
Returns true if x < y.
*/
//
/node/expression/op/binary/Less
/datum/node/expression/op/binary/Less
precedence=OOP_COMPARE
/*
@@ -48,7 +48,7 @@
Returns true if x >= y.
*/
//
/node/expression/op/binary/GreaterOrEqual
/datum/node/expression/op/binary/GreaterOrEqual
precedence=OOP_COMPARE
/*
@@ -56,7 +56,7 @@
Returns true if x <= y.
*/
//
/node/expression/op/binary/LessOrEqual
/datum/node/expression/op/binary/LessOrEqual
precedence=OOP_COMPARE
@@ -67,7 +67,7 @@
Returns true if x and y are true.
*/
//
/node/expression/op/binary/LogicalAnd
/datum/node/expression/op/binary/LogicalAnd
precedence=OOP_AND
/*
@@ -75,7 +75,7 @@
Returns true if x, y, or both are true.
*/
//
/node/expression/op/binary/LogicalOr
/datum/node/expression/op/binary/LogicalOr
precedence=OOP_OR
/*
@@ -83,7 +83,7 @@
Returns true if either x or y but not both are true.
*/
//
/node/expression/op/binary/LogicalXor //Not implemented in nS
/datum/node/expression/op/binary/LogicalXor //Not implemented in nS
precedence=OOP_OR
@@ -97,7 +97,7 @@
011 & 110 = 010
*/
//
/node/expression/op/binary/BitwiseAnd
/datum/node/expression/op/binary/BitwiseAnd
precedence=OOP_BIT
/*
@@ -108,7 +108,7 @@
011 | 110 = 111
*/
//
/node/expression/op/binary/BitwiseOr
/datum/node/expression/op/binary/BitwiseOr
precedence=OOP_BIT
/*
@@ -119,7 +119,7 @@
011 xor 110 = 101
*/
//
/node/expression/op/binary/BitwiseXor
/datum/node/expression/op/binary/BitwiseXor
precedence=OOP_BIT
@@ -130,7 +130,7 @@
Returns the sum of x and y.
*/
//
/node/expression/op/binary/Add
/datum/node/expression/op/binary/Add
precedence=OOP_ADD
/*
@@ -138,7 +138,7 @@
Returns the difference of x and y.
*/
//
/node/expression/op/binary/Subtract
/datum/node/expression/op/binary/Subtract
precedence=OOP_ADD
/*
@@ -146,7 +146,7 @@
Returns the product of x and y.
*/
//
/node/expression/op/binary/Multiply
/datum/node/expression/op/binary/Multiply
precedence=OOP_MULTIPLY
/*
@@ -154,7 +154,7 @@
Returns the quotient of x and y.
*/
//
/node/expression/op/binary/Divide
/datum/node/expression/op/binary/Divide
precedence=OOP_MULTIPLY
/*
@@ -162,7 +162,7 @@
Returns x raised to the power of y.
*/
//
/node/expression/op/binary/Power
/datum/node/expression/op/binary/Power
precedence=OOP_POW
/*
@@ -170,5 +170,5 @@
Returns the remainder of x / y.
*/
//
/node/expression/op/binary/Modulo
/datum/node/expression/op/binary/Modulo
precedence=OOP_MULTIPLY
@@ -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/op/unary
/datum/node/expression/op/unary
precedence=OOP_UNARY
/*
@@ -16,7 +16,7 @@
!true = false and !false = true
*/
//
/node/expression/op/unary/LogicalNot
/datum/node/expression/op/unary/LogicalNot
name="logical not"
/*
@@ -27,7 +27,7 @@
~10 (decimal 2) = 01 (decimal 1).
*/
//
/node/expression/op/unary/BitwiseNot
/datum/node/expression/op/unary/BitwiseNot
name="bitwise not"
/*
@@ -35,7 +35,7 @@
Returns -x.
*/
//
/node/expression/op/unary/Minus
/datum/node/expression/op/unary/Minus
name="minus"
/*
@@ -43,9 +43,9 @@
A special unary operator representing a value in parentheses.
*/
//
/node/expression/op/unary/group
/datum/node/expression/op/unary/group
precedence=OOP_GROUP
/node/expression/op/unary/New(node/expression/exp)
/datum/node/expression/op/unary/New(datum/node/expression/exp)
src.exp=exp
return ..()