@Override protected int getMaxInstanceId() { return super.getMaxInstanceId() + MAX_INSTANCE_ID; }
@Override protected int getMaxInstanceId() { return super.getMaxInstanceId() + MAX_INSTANCE_ID; }
@Override protected int getMaxInstanceId() { return super.getMaxInstanceId() + MAX_INSTANCE_ID; }
@Override protected int getMaxInstanceId() { return super.getMaxInstanceId() + MAX_INSTANCE_ID; }
@Override protected int getMaxInstanceId() { return super.getMaxInstanceId() + MAX_INSTANCE_ID; }
protected int getMaxInstanceId() { return super.getMaxInstanceId() + MAX_INSTANCE_ID; }
@Override protected String getInstanceIdName(int id) { int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { switch (shifted) { case Id_multiline: return "multiline"; case Id_STAR: return "$*"; case Id_input: return "input"; case Id_UNDERSCORE: return "$_"; case Id_lastMatch: return "lastMatch"; case Id_AMPERSAND: return "$&"; case Id_lastParen: return "lastParen"; case Id_PLUS: return "$+"; case Id_leftContext: return "leftContext"; case Id_BACK_QUOTE: return "$`"; case Id_rightContext: return "rightContext"; case Id_QUOTE: return "$'"; } // Must be one of $1..$9, convert to 0..8 int substring_number = shifted - DOLLAR_ID_BASE - 1; char[] buf = { '$', (char)('1' + substring_number) }; return new String(buf); } return super.getInstanceIdName(id); }
@Override protected String getInstanceIdName(int id) { int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { switch (shifted) { case Id_multiline: return "multiline"; case Id_STAR: return "$*"; case Id_input: return "input"; case Id_UNDERSCORE: return "$_"; case Id_lastMatch: return "lastMatch"; case Id_AMPERSAND: return "$&"; case Id_lastParen: return "lastParen"; case Id_PLUS: return "$+"; case Id_leftContext: return "leftContext"; case Id_BACK_QUOTE: return "$`"; case Id_rightContext: return "rightContext"; case Id_QUOTE: return "$'"; } // Must be one of $1..$9, convert to 0..8 int substring_number = shifted - DOLLAR_ID_BASE - 1; char[] buf = { '$', (char)('1' + substring_number) }; return new String(buf); } return super.getInstanceIdName(id); }
@Override protected String getInstanceIdName(int id) { int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { switch (shifted) { case Id_multiline: return "multiline"; case Id_STAR: return "$*"; case Id_input: return "input"; case Id_UNDERSCORE: return "$_"; case Id_lastMatch: return "lastMatch"; case Id_AMPERSAND: return "$&"; case Id_lastParen: return "lastParen"; case Id_PLUS: return "$+"; case Id_leftContext: return "leftContext"; case Id_BACK_QUOTE: return "$`"; case Id_rightContext: return "rightContext"; case Id_QUOTE: return "$'"; } // Must be one of $1..$9, convert to 0..8 int substring_number = shifted - DOLLAR_ID_BASE - 1; char[] buf = { '$', (char)('1' + substring_number) }; return new String(buf); } return super.getInstanceIdName(id); }
@Override protected String getInstanceIdName(int id) { int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { switch (shifted) { case Id_multiline: return "multiline"; case Id_STAR: return "$*"; case Id_input: return "input"; case Id_UNDERSCORE: return "$_"; case Id_lastMatch: return "lastMatch"; case Id_AMPERSAND: return "$&"; case Id_lastParen: return "lastParen"; case Id_PLUS: return "$+"; case Id_leftContext: return "leftContext"; case Id_BACK_QUOTE: return "$`"; case Id_rightContext: return "rightContext"; case Id_QUOTE: return "$'"; } // Must be one of $1..$9, convert to 0..8 int substring_number = shifted - DOLLAR_ID_BASE - 1; char[] buf = { '$', (char)('1' + substring_number) }; return new String(buf); } return super.getInstanceIdName(id); }
@Override protected String getInstanceIdName(int id) { int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { switch (shifted) { case Id_multiline: return "multiline"; case Id_STAR: return "$*"; case Id_input: return "input"; case Id_UNDERSCORE: return "$_"; case Id_lastMatch: return "lastMatch"; case Id_AMPERSAND: return "$&"; case Id_lastParen: return "lastParen"; case Id_PLUS: return "$+"; case Id_leftContext: return "leftContext"; case Id_BACK_QUOTE: return "$`"; case Id_rightContext: return "rightContext"; case Id_QUOTE: return "$'"; } // Must be one of $1..$9, convert to 0..8 int substring_number = shifted - DOLLAR_ID_BASE - 1; char[] buf = { '$', (char)('1' + substring_number) }; return new String(buf); } return super.getInstanceIdName(id); }
protected String getInstanceIdName(int id) { int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { switch (shifted) { case Id_multiline: return "multiline"; case Id_STAR: return "$*"; case Id_input: return "input"; case Id_UNDERSCORE: return "$_"; case Id_lastMatch: return "lastMatch"; case Id_AMPERSAND: return "$&"; case Id_lastParen: return "lastParen"; case Id_PLUS: return "$+"; case Id_leftContext: return "leftContext"; case Id_BACK_QUOTE: return "$`"; case Id_rightContext: return "rightContext"; case Id_QUOTE: return "$'"; } // Must be one of $1..$9, convert to 0..8 int substring_number = shifted - DOLLAR_ID_BASE - 1; char[] buf = { '$', (char)('1' + substring_number) }; return new String(buf); } return super.getInstanceIdName(id); }
@Override protected void setInstanceIdAttributes(int id, int attr) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline:
@Override protected Object getInstanceIdValue(int id) int shifted = id - super.getMaxInstanceId(); if (1 <= shifted && shifted <= MAX_INSTANCE_ID) { RegExpImpl impl = getImpl();
@Override protected void setInstanceIdValue(int id, Object value) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline: case Id_STAR: getImpl().multiline = ScriptRuntime.toBoolean(value); return; case Id_input: case Id_UNDERSCORE: getImpl().input = ScriptRuntime.toString(value); return; } super.setInstanceIdValue(id, value); }
protected void setInstanceIdValue(int id, Object value) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline: case Id_STAR: getImpl().multiline = ScriptRuntime.toBoolean(value); return; case Id_input: case Id_UNDERSCORE: getImpl().input = ScriptRuntime.toString(value); return; } super.setInstanceIdValue(id, value); }
@Override protected void setInstanceIdValue(int id, Object value) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline: case Id_STAR: getImpl().multiline = ScriptRuntime.toBoolean(value); return; case Id_input: case Id_UNDERSCORE: getImpl().input = ScriptRuntime.toString(value); return; case Id_lastMatch: case Id_AMPERSAND: case Id_lastParen: case Id_PLUS: case Id_leftContext: case Id_BACK_QUOTE: case Id_rightContext: case Id_QUOTE: return; default: int substring_number = shifted - DOLLAR_ID_BASE - 1; if (0 <= substring_number && substring_number <= 8) { return; } } super.setInstanceIdValue(id, value); }
@Override protected void setInstanceIdValue(int id, Object value) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline: case Id_STAR: getImpl().multiline = ScriptRuntime.toBoolean(value); return; case Id_input: case Id_UNDERSCORE: getImpl().input = ScriptRuntime.toString(value); return; case Id_lastMatch: case Id_AMPERSAND: case Id_lastParen: case Id_PLUS: case Id_leftContext: case Id_BACK_QUOTE: case Id_rightContext: case Id_QUOTE: return; default: int substring_number = shifted - DOLLAR_ID_BASE - 1; if (0 <= substring_number && substring_number <= 8) { return; } } super.setInstanceIdValue(id, value); }
@Override protected void setInstanceIdValue(int id, Object value) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline: case Id_STAR: getImpl().multiline = ScriptRuntime.toBoolean(value); return; case Id_input: case Id_UNDERSCORE: getImpl().input = ScriptRuntime.toString(value); return; case Id_lastMatch: case Id_AMPERSAND: case Id_lastParen: case Id_PLUS: case Id_leftContext: case Id_BACK_QUOTE: case Id_rightContext: case Id_QUOTE: return; default: int substring_number = shifted - DOLLAR_ID_BASE - 1; if (0 <= substring_number && substring_number <= 8) { return; } } super.setInstanceIdValue(id, value); }
@Override protected void setInstanceIdValue(int id, Object value) { int shifted = id - super.getMaxInstanceId(); switch (shifted) { case Id_multiline: case Id_STAR: getImpl().multiline = ScriptRuntime.toBoolean(value); return; case Id_input: case Id_UNDERSCORE: getImpl().input = ScriptRuntime.toString(value); return; case Id_lastMatch: case Id_AMPERSAND: case Id_lastParen: case Id_PLUS: case Id_leftContext: case Id_BACK_QUOTE: case Id_rightContext: case Id_QUOTE: return; default: int substring_number = shifted - DOLLAR_ID_BASE - 1; if (0 <= substring_number && substring_number <= 8) { return; } } super.setInstanceIdValue(id, value); }