Package ch.njol.skript.patterns
Class ChoicePatternElement
java.lang.Object
ch.njol.skript.patterns.PatternElement
ch.njol.skript.patterns.ChoicePatternElement
A
PatternElement that has multiple options, for example hello|world.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(PatternElement patternElement) getLast()@Nullable MatchResultmatch(String expr, MatchResult matchResult) voidsetLast(PatternElement patternElement) toString()Methods inherited from class ch.njol.skript.patterns.PatternElement
matchNext, toFullString
-
Constructor Details
-
ChoicePatternElement
public ChoicePatternElement()
-
-
Method Details
-
add
-
getLast
-
setLast
-
getPatternElements
-
match
- Specified by:
matchin classPatternElement
-
toString
- Specified by:
toStringin classPatternElement
-