public final class PatternTrait extends StringTrait
Modifier and Type | Class and Description |
---|---|
static class |
PatternTrait.Provider |
Constructor and Description |
---|
PatternTrait(java.lang.String value) |
PatternTrait(java.lang.String value,
SourceLocation sourceLocation) |
Modifier and Type | Method and Description |
---|---|
java.util.regex.Pattern |
getPattern()
Gets the regex pattern.
|
createNode, getValue
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public PatternTrait(java.lang.String value, SourceLocation sourceLocation)
public PatternTrait(java.lang.String value)