Class TPatternWriter
java.lang.Object
org.teavm.classlib.java.util.regex.TPatternWriter
Used in build time only. Describes a compiled pattern as a sequence of calls to
TPatternFactory
methods. Each node of the pattern describes itself, and nodes that don't know how to describe
themselves make the whole pattern unsupported.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanwrite(TPattern pattern, PatternConstructionListener listener) Describes pattern to given listener.
-
Method Details
-
write
Describes pattern to given listener.- Returns:
falseif pattern can't be described, in which case listener receives incomplete sequence of calls which should be discarded.
-