| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private KCode | |
| private boolean | |
| private boolean | |
| private boolean | |
| public static final RegexpOptions | |
| private boolean | |
| private static final ByteList |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public RegexpOptions | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public static RegexpOptions | |
| public static RegexpOptions | |
| public static RegexpOptions | |
| public static RegexpOptions | |
| private KCode | |
| public KCode | |
| public String | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isKcodeDefault()
Whether the kcode associated with this regexp is implicit (aka default) or is specified explicitly (via 'nesu' syntax postscript or flags to Regexp.new. |
| public boolean | |
| public boolean | |
| public boolean | |
| public static RegexpOptions | |
| public void | |
| public void | setExplicitKCode(KCode
to be set kcode)This regexp has an explicit encoding flag or 'nesu' letter associated with it. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Encoding | |
| public int | toEmbeddedOptions()
This int value can be used by compiler or any place where we want an integer representation of the state of this object. |
| public int | toJoniOptions()
This int value is meant to only be used when dealing directly with the joni regular expression library. |
| public int | |
| public String | |
| public RegexpOptions |
| encodingNone | back to summary |
|---|---|
| private boolean encodingNone | |
| extended | back to summary |
|---|---|
| private boolean extended | |
| fixed | back to summary |
|---|---|
| private boolean fixed | |
| ignorecase | back to summary |
|---|---|
| private boolean ignorecase | |
| java | back to summary |
|---|---|
| private boolean java | |
| kcode | back to summary |
|---|---|
| private KCode kcode | |
| kcodeDefault | back to summary |
|---|---|
| private boolean kcodeDefault | |
| literal | back to summary |
|---|---|
| private boolean literal | |
| multiline | back to summary |
|---|---|
| private boolean multiline | |
| NULL_OPTIONS | back to summary |
|---|---|
| public static final RegexpOptions NULL_OPTIONS | |
| once | back to summary |
|---|---|
| private boolean once | |
| WINDOWS31J | back to summary |
|---|---|
| private static final ByteList WINDOWS31J | |
| RegexpOptions | back to summary |
|---|---|
| public RegexpOptions() | |
| RegexpOptions | back to summary |
|---|---|
| public RegexpOptions(KCode kcode, boolean isKCodeDefault) | |
| clone | back to summary |
|---|---|
| public RegexpOptions clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| fromByteList | back to summary |
|---|---|
| public static RegexpOptions fromByteList(Ruby runtime, ByteList string) | |
| fromByteList | back to summary |
|---|---|
| public static RegexpOptions fromByteList(ThreadContext context, ByteList string) | |
| fromEmbeddedOptions | back to summary |
|---|---|
| public static RegexpOptions fromEmbeddedOptions(int embeddedOptions) | |
| fromJoniOptions | back to summary |
|---|---|
| public static RegexpOptions fromJoniOptions(int joniOptions) | |
| getExplicitKCode | back to summary |
|---|---|
| private KCode getExplicitKCode() | |
| getKCode | back to summary |
|---|---|
| public KCode getKCode() | |
| getKCodeName | back to summary |
|---|---|
| public String getKCodeName() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isEmbeddable | back to summary |
|---|---|
| public boolean isEmbeddable() | |
| isEncodingNone | back to summary |
|---|---|
| public boolean isEncodingNone() | |
| isExtended | back to summary |
|---|---|
| public boolean isExtended() | |
| isFixed | back to summary |
|---|---|
| public boolean isFixed() | |
| isIgnorecase | back to summary |
|---|---|
| public boolean isIgnorecase() | |
| isJava | back to summary |
|---|---|
| public boolean isJava() | |
| isKcodeDefault | back to summary |
|---|---|
| public boolean isKcodeDefault() Whether the kcode associated with this regexp is implicit (aka default) or is specified explicitly (via 'nesu' syntax postscript or flags to Regexp.new. | |
| isLiteral | back to summary |
|---|---|
| public boolean isLiteral() | |
| isMultiline | back to summary |
|---|---|
| public boolean isMultiline() | |
| isOnce | back to summary |
|---|---|
| public boolean isOnce() | |
| newRegexpOptions | back to summary |
|---|---|
| public static RegexpOptions newRegexpOptions(String validOptions) | |
| setEncodingNone | back to summary |
|---|---|
| public void setEncodingNone(boolean encodingNone) | |
| setExplicitKCode | back to summary |
|---|---|
| public void setExplicitKCode(KCode kcode) This regexp has an explicit encoding flag or 'nesu' letter associated with it.
| |
| setExtended | back to summary |
|---|---|
| public void setExtended(boolean extended) | |
| setFixed | back to summary |
|---|---|
| public void setFixed(boolean fixed) | |
| setIgnorecase | back to summary |
|---|---|
| public void setIgnorecase(boolean ignorecase) | |
| setJava | back to summary |
|---|---|
| public void setJava(boolean java) | |
| setLiteral | back to summary |
|---|---|
| public void setLiteral(boolean literal) | |
| setMultiline | back to summary |
|---|---|
| public void setMultiline(boolean multiline) | |
| setOnce | back to summary |
|---|---|
| public void setOnce(boolean once) | |
| setup | back to summary |
|---|---|
| public Encoding setup(Ruby runtime) Calculate the encoding based on kcode option set via 'nesu'. Also as side-effects: 1.set whether this marks the soon to be made regexp as 'fixed'. 2.kcode.none will set 'none' option
| |
| toEmbeddedOptions | back to summary |
|---|---|
| public int toEmbeddedOptions() This int value can be used by compiler or any place where we want an integer representation of the state of this object. Note This is for full representation of state in the JIT. It is not to be confused with state of marshalled regexp data. | |
| toJoniOptions | back to summary |
|---|---|
| public int toJoniOptions() This int value is meant to only be used when dealing directly with the joni regular expression library. It differs from embeddedOptions in that it only contains bit values which Joni cares about. | |
| toOptions | back to summary |
|---|---|
| public int toOptions() This int value is used by Regex#options | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| withoutOnce | back to summary |
|---|---|
| public RegexpOptions withoutOnce() | |