Package ch.njol.skript.patterns
@NonNullByDefault({PARAMETER,RETURN_TYPE,FIELD})
package ch.njol.skript.patterns
The package for the bukkit plugin Skript.
-
ClassDescriptionA
PatternElement
that has multiple options, for examplehello|world
.APatternElement
that represents a group, for example(test)
.APatternElement
that contains a literal string to be matched, for examplehello world
.A result from pattern matching.APatternElement
that contains an optional part, for example[hello world]
.APatternElement
that applies a parse mark when matched.The pattern structure is a linked list ofPatternElement
s, wherePatternElement.next
points to the next element to be matched, which can be on an outer level, and wherePatternElement.originalNext
points to the next element on the same level.APatternElement
that contains a type to be matched with an expressions, for example%number%
.