INNER CODE UNIT · Java
init
oracle/pgql-lang · pgql-spoofax/src/main/strategies/pgqllang/strategies/Main.java:9
public static void init(Context context) {
}
/* This is a copy of oracle.pgql.lang.ir.PgqlUtils.unescapeLegacyPgqlString()
* We cannot add a dependency between the two projects. */
public static String unescapeLegacyPgqlString(String input, boolean identifier) {
if (input == null) {
return null;
}
StringBuilder sb = new StringBuilder();
int length = input.length();
for (int i = 0; i < length; i++) {
char currentChar = input.charAt(i);
if (currentChar == '\\' && i + 1 < length) {