public class MessageMatcherParser extends AbstractAntlr4Compiler
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageMatcherParser.Service |
AbstractAntlr4Compiler.CompilerInputSupplier, AbstractAntlr4Compiler.Walker, AbstractAntlr4Compiler.WalkerSupplier| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
classLoader |
static MessageMatcherParser |
INSTANCE |
protected java.util.function.Function<String,de.sayayi.lib.protocol.Level> |
levelResolver |
| Constructor and Description |
|---|
MessageMatcherParser(ClassLoader classLoader,
java.util.function.Function<String,de.sayayi.lib.protocol.Level> levelResolver) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull de.sayayi.lib.protocol.matcher.MessageMatcher |
parseMessageMatcher(@NotNull String messageMatcherText) |
@NotNull de.sayayi.lib.protocol.TagSelector |
parseTagSelector(@NotNull String tagSelectorText) |
compile, compile, createException, syntaxError, syntaxErrorpublic static final MessageMatcherParser INSTANCE
protected final ClassLoader classLoader
protected final java.util.function.Function<String,de.sayayi.lib.protocol.Level> levelResolver
public MessageMatcherParser(ClassLoader classLoader,
java.util.function.Function<String,de.sayayi.lib.protocol.Level> levelResolver)
@Contract(pure=true)
@NotNull
public @NotNull de.sayayi.lib.protocol.matcher.MessageMatcher parseMessageMatcher(@NotNull
@NotNull String messageMatcherText)
@Contract(pure=true)
@NotNull
public @NotNull de.sayayi.lib.protocol.TagSelector parseTagSelector(@NotNull
@NotNull String tagSelectorText)