mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Added nameof
This commit is contained in:
parent
dd0d67cca1
commit
7dd2324fcf
13 changed files with 307 additions and 13 deletions
|
@ -3174,6 +3174,8 @@ void BfParser::NextToken(int endIdx, bool outerIsInterpolate, bool disablePrepro
|
|||
case TOKEN_HASH('n', 'a', 'm', 'e'):
|
||||
if (SrcPtrHasToken("namespace"))
|
||||
mToken = BfToken_Namespace;
|
||||
else if (SrcPtrHasToken("nameof"))
|
||||
mToken = BfToken_NameOf;
|
||||
break;
|
||||
case TOKEN_HASH('n', 'e', 'w', 0):
|
||||
if (SrcPtrHasToken("new"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue