Split big function in sql lexer into several functions.
This commit is contained in:
parent
81c4449d31
commit
091040f13f
2 changed files with 106 additions and 87 deletions
|
|
@ -44,7 +44,9 @@ private:
|
|||
int m_pos = 0;
|
||||
LexerState m_state;
|
||||
|
||||
|
||||
bool parseSingleQuotedString(int startpos, int &length, BasicTokenType &tokentype);
|
||||
bool parseDoubleQuotedIdentifier(int startpos, int &length, BasicTokenType &tokentype);
|
||||
bool parseDollarQuote(int startpos, int &length, BasicTokenType &tokentype, QString &out);
|
||||
};
|
||||
|
||||
#endif // SQLLEXER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue