add Loop keywords

This commit is contained in:
XudongXie 2024-09-14 20:00:17 +08:00
parent 405dcf6569
commit 477e484385
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ public class OracleLexer {
// keywords of view
, "REPLACE", "VIEW"
// PL/SQL
, ":=", "IF", "ELSIF"
, ":=", "IF", "ELSIF", "BEGIN"
// Loop
, "LOOP", "EXIT", "WHILE", "FOR", "IN"
};
private static final Pattern TOKEN_PATTERN = Pattern.compile(
"(NUMBER\\(.*?\\))|" + // NUMBER() function