Package com.sonar.sslr.impl.channel
Class RegexpChannelBuilder
- java.lang.Object
-
- com.sonar.sslr.impl.channel.RegexpChannelBuilder
-
public final class RegexpChannelBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ANY_CHAR
static String
DIGIT
static String
HEXA_DIGIT
static String
OCTAL_DIGIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
and(String... regexpPieces)
static String
anyButNot(String... character)
static CommentRegexpChannel
commentRegexp(String... regexpPiece)
static String
g(String... regexpPiece)
static String
o2n(String regexpPiece)
static String
one2n(String regexpPiece)
static String
opt(String regexpPiece)
static String
or(String... regexpPiece)
static RegexpChannel
regexp(TokenType type, String... regexpPiece)
-
-
-
Field Detail
-
DIGIT
public static final String DIGIT
- See Also:
- Constant Field Values
-
ANY_CHAR
public static final String ANY_CHAR
- See Also:
- Constant Field Values
-
OCTAL_DIGIT
public static final String OCTAL_DIGIT
- See Also:
- Constant Field Values
-
HEXA_DIGIT
public static final String HEXA_DIGIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
regexp
public static RegexpChannel regexp(TokenType type, String... regexpPiece)
-
commentRegexp
public static CommentRegexpChannel commentRegexp(String... regexpPiece)
-
-