Package ch.njol.skript.patterns
Class PatternElement
java.lang.Object
ch.njol.skript.patterns.PatternElement
- Direct Known Subclasses:
ChoicePatternElement,GroupPatternElement,LiteralPatternElement,OptionalPatternElement,ParseTagPatternElement,RegexPatternElement,TypePatternElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllCombinations(boolean clean) Gets all combinations available to thisPatternElementand linkedPatternElements.getCombinations(boolean clean) Gets the combinations available to thisPatternElement.abstract @Nullable MatchResultmatch(String expr, MatchResult matchResult) protected @Nullable MatchResultmatchNext(String expr, MatchResult matchResult) abstract StringtoString()
-
Constructor Details
-
PatternElement
public PatternElement()
-
-
Method Details
-
match
-
matchNext
-
toString
-
toFullString
-
getCombinations
Gets the combinations available to thisPatternElement.- Parameters:
clean- Whether unnecessary data, determined by each implementation, should be excluded from the combinations.- Returns:
- The combinations.
-
getAllCombinations
Gets all combinations available to thisPatternElementand linkedPatternElements.- Parameters:
clean- Whether unnecessary data, determined by each implementation, should be excluded from the combinations.- Returns:
- The combinations.
-