1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Added '->' operator, static indexer fix, RefCounted<T>

This commit is contained in:
Brian Fiete 2022-06-22 08:35:25 -07:00
parent dd7986aaa9
commit abd511a93d
14 changed files with 302 additions and 20 deletions

View file

@ -1768,6 +1768,7 @@ const char* Beefy::BfGetOpName(BfUnaryOp unaryOp)
{
case BfUnaryOp_None: return "";
case BfUnaryOp_AddressOf: return "&";
case BfUnaryOp_Arrow: return "->";
case BfUnaryOp_Dereference: return "*";
case BfUnaryOp_Negate: return "-";
case BfUnaryOp_Not: return "!";
@ -1862,6 +1863,8 @@ BfUnaryOp Beefy::BfTokenToUnaryOp(BfToken token)
return BfUnaryOp_Dereference;
case BfToken_Ampersand:
return BfUnaryOp_AddressOf;
case BfToken_Arrow:
return BfUnaryOp_Arrow;
case BfToken_Minus:
return BfUnaryOp_Negate;
case BfToken_Bang: