public final class LiteralRegexEngine extends Object
LiteralRegexExecNode.EmptyStartsWith, LiteralRegexExecNode.EmptyEndsWith, LiteralRegexExecNode.EmptyIndexOf) or to the following methods
of String (or equivalent nodes in com.oracle.truffle.regex.tregex.nodes.input)
whenever possible:
String.isEmpty(): LiteralRegexExecNode.EmptyEqualsString.indexOf(String): LiteralRegexExecNode.IndexOfStringString.startsWith(String): LiteralRegexExecNode.StartsWithString.endsWith(String): LiteralRegexExecNode.EndsWithString.equals(Object): LiteralRegexExecNode.EqualsString.regionMatches(int, String, int, int): LiteralRegexExecNode.RegionMatches| Constructor and Description |
|---|
LiteralRegexEngine() |
| Modifier and Type | Method and Description |
|---|---|
static LiteralRegexExecNode |
createNode(RegexLanguage language,
RegexAST ast) |
public static LiteralRegexExecNode createNode(RegexLanguage language, RegexAST ast)