public abstract class Pattern extends Object implements ParsedPattern
Modifier and Type | Method and Description |
---|---|
abstract void |
accept(PatternVisitor visitor) |
abstract Object |
apply(PatternFunction f) |
boolean |
isNullable()
Returns true if the pattern is nullable.
|
public final boolean isNullable()
A pattern is nullable when it can match the empty sequence.
public abstract void accept(PatternVisitor visitor)
public abstract Object apply(PatternFunction f)
Copyright © 2017 JBoss by Red Hat. All rights reserved.