mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-01 17:30:53 +01:00
Lexer: add offset getter
This commit is contained in:
parent
c1e2f650db
commit
5cfaf412e7
1 changed files with 5 additions and 0 deletions
|
@ -187,6 +187,11 @@ public:
|
|||
static bool fixupQuotedString(std::string& data);
|
||||
static void fixupMultilineString(std::string& data);
|
||||
|
||||
unsigned int getOffset() const
|
||||
{
|
||||
return offset;
|
||||
}
|
||||
|
||||
private:
|
||||
char peekch() const;
|
||||
char peekch(unsigned int lookahead) const;
|
||||
|
|
Loading…
Add table
Reference in a new issue