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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(PatternElement patternElement) getLast()
@Nullable MatchResult
match
(String expr, MatchResult matchResult) void
setLast
(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:
match
in classPatternElement
-
toString
- Specified by:
toString
in classPatternElement
-