public final class RegexSource extends Object implements JsonConvertible
| Constructor and Description |
|---|
RegexSource(String pattern,
String flags,
RegexOptions options,
com.oracle.truffle.api.source.Source source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Encodings.Encoding |
getEncoding() |
String |
getFlags() |
RegexOptions |
getOptions() |
String |
getPattern() |
com.oracle.truffle.api.source.Source |
getSource() |
int |
hashCode() |
String |
toFileName() |
JsonValue |
toJson() |
String |
toString() |
String |
toStringEscaped() |
RegexSource |
withBooleanMatch() |
RegexSource |
withoutBooleanMatch() |
public RegexSource(String pattern, String flags, RegexOptions options, com.oracle.truffle.api.source.Source source)
public String getPattern()
public String getFlags()
public RegexOptions getOptions()
public Encodings.Encoding getEncoding()
public com.oracle.truffle.api.source.Source getSource()
public RegexSource withBooleanMatch()
public RegexSource withoutBooleanMatch()
public String toStringEscaped()
public String toFileName()
public JsonValue toJson()
toJson in interface JsonConvertible