public class Choice extends RegExpr
| Modifier and Type | Method and Description |
|---|---|
static RegExpr |
createLeftOptional(RegExpr left,
RegExpr right) |
static Choice |
createNot(RegExpr expr) |
static Choice |
createOption(RegExpr e) |
static RegExpr |
createRightOptional(RegExpr left,
RegExpr right) |
static boolean |
getRanges(RegExpr expr,
List<RegExpr> result) |
String |
toString() |
Object |
visit(Action action)
Visit this expressions and its sub-expression and perform
some action.
|
public Choice(RegExpr... body)
public Object visit(Action action) throws ActionException
RegExprvisit in class RegExprActionExceptionCopyright © 1998–2017 1&1. All rights reserved.