Package ch.njol.skript.patterns
package ch.njol.skript.patterns
Classes contributing to the pattern compilation process.
-
ClassDescriptionA
PatternElementthat has multiple options, for examplehello|world.APatternElementthat represents a group, for example(test).APatternElementthat contains a literal string to be matched, for examplehello world.A result from pattern matching.APatternElementthat contains an optional part, for example[hello world].APatternElementthat applies a parse mark when matched.The pattern structure is a linked list ofPatternElements, wherePatternElement.nextpoints to the next element to be matched, which can be on an outer level, and wherePatternElement.originalNextpoints to the next element on the same level.A pattern element represents a part of aSkriptPattern.Properties to consider when stringifying a pattern.Builder for constructing stringification properties.APatternElementthat contains a type to be matched with an expressions, for example%number%.