mirror of https://github.com/tbklang/tlang.git
Parser
- Implemented `ulong getCursor()` which returns the parser's token pointer
This commit is contained in:
parent
37225c8484
commit
3b4142f16b
|
@ -109,6 +109,11 @@ public final class Parser
|
|||
tokenPtr = newPosition;
|
||||
}
|
||||
|
||||
private ulong getCursor()
|
||||
{
|
||||
return tokenPtr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses if statements
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue