- Implemented `ulong getCursor()` which returns the parser's token pointer
This commit is contained in:
Tristan B. Velloza Kildaire 2023-02-15 13:16:42 +02:00
parent 37225c8484
commit 3b4142f16b
1 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,11 @@ public final class Parser
tokenPtr = newPosition;
}
private ulong getCursor()
{
return tokenPtr;
}
/**
* Parses if statements
*