public final class ReplaceStringParser<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplaceStringParser.CaptureGroupToken |
static interface |
ReplaceStringParser.Consumer<T> |
static class |
ReplaceStringParser.LiteralToken |
static class |
ReplaceStringParser.NamedCaptureGroupToken |
static class |
ReplaceStringParser.Token |
| Modifier and Type | Method and Description |
|---|---|
static ReplaceStringParser.Token[] |
parse(String replaceStr,
int maxGroupNumber,
boolean parseNamedCaptureGroups) |
void |
process(ReplaceStringParser.Consumer<T> consumer,
T node,
com.oracle.truffle.api.profiles.BranchProfile hasDollarProfile) |
static <T> void |
process(String replaceStr,
int maxGroupNumber,
boolean parseNamedCaptureGroups,
com.oracle.truffle.api.profiles.BranchProfile hasDollarProfile,
ReplaceStringParser.Consumer<T> consumer,
T node) |
static <T> void |
processParsed(ReplaceStringParser.Token[] tokens,
ReplaceStringParser.Consumer<T> consumer,
T node) |
public static <T> void process(String replaceStr, int maxGroupNumber, boolean parseNamedCaptureGroups, com.oracle.truffle.api.profiles.BranchProfile hasDollarProfile, ReplaceStringParser.Consumer<T> consumer, T node)
public static ReplaceStringParser.Token[] parse(String replaceStr, int maxGroupNumber, boolean parseNamedCaptureGroups)
public static <T> void processParsed(ReplaceStringParser.Token[] tokens, ReplaceStringParser.Consumer<T> consumer, T node)
public void process(ReplaceStringParser.Consumer<T> consumer, T node, com.oracle.truffle.api.profiles.BranchProfile hasDollarProfile)