com.sonar.sslr.impl.channel
Class RegexpChannelBuilder

java.lang.Object
  extended by com.sonar.sslr.impl.channel.RegexpChannelBuilder

public final class RegexpChannelBuilder
extends Object


Field Summary
static String ANY_CHAR
           
static String DIGIT
           
static String HEXA_DIGIT
           
static String OCTAL_DIGIT
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

opt

public static String opt(String regexpPiece)

and

public static String and(String... regexpPieces)

one2n

public static String one2n(String regexpPiece)

o2n

public static String o2n(String regexpPiece)

anyButNot

public static String anyButNot(String... character)

g

public static String g(String... regexpPiece)

or

public static String or(String... regexpPiece)


Copyright © 2009-2014 SonarSource. All Rights Reserved.