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:
parent
dd7986aaa9
commit
abd511a93d
14 changed files with 302 additions and 20 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue