Package ch.njol.skript.patterns
Class PatternCompiler
java.lang.Object
ch.njol.skript.patterns.PatternCompiler
The pattern structure is a linked list of
PatternElement
s,
where PatternElement.next
points to the next element to be matched,
which can be on an outer level, and where PatternElement.originalNext
points
to the next element on the same level.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SkriptPattern
Parses a pattern String into aSkriptPattern
.
-
Constructor Details
-
PatternCompiler
public PatternCompiler()
-
-
Method Details
-
compile
Parses a pattern String into aSkriptPattern
.- Throws:
MalformedPatternException
- when the given pattern is malformed.
-