org.sonar.javascript.lexer
Class EcmaScriptLexer

java.lang.Object
  extended by org.sonar.javascript.lexer.EcmaScriptLexer

public final class EcmaScriptLexer
extends Object


Field Summary
static String COMMENT
           
static String IDENTIFIER
           
static String LINE_TERMINATOR
          LF, CR, LS, PS
static String LITERAL
           
static String MULTI_LINE_COMMENT
           
static String MULTI_LINE_COMMENT_NO_LB
           
static String NUMERIC_LITERAL
           
static String SINGLE_LINE_COMMENT
           
static String WHITESPACE
          Tab, Vertical Tab, Form Feed, Space, No-break space, Byte Order Mark, Any other Unicode "space separator"
 
Method Summary
static com.sonar.sslr.impl.Lexer create(EcmaScriptConfiguration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMERIC_LITERAL

public static final String NUMERIC_LITERAL
See Also:
Constant Field Values

LITERAL

public static final String LITERAL
See Also:
Constant Field Values

SINGLE_LINE_COMMENT

public static final String SINGLE_LINE_COMMENT
See Also:
Constant Field Values

MULTI_LINE_COMMENT

public static final String MULTI_LINE_COMMENT
See Also:
Constant Field Values

MULTI_LINE_COMMENT_NO_LB

public static final String MULTI_LINE_COMMENT_NO_LB
See Also:
Constant Field Values

COMMENT

public static final String COMMENT
See Also:
Constant Field Values

IDENTIFIER

public static final String IDENTIFIER
See Also:
Constant Field Values

LINE_TERMINATOR

public static final String LINE_TERMINATOR
LF, CR, LS, PS

See Also:
Constant Field Values

WHITESPACE

public static final String WHITESPACE
Tab, Vertical Tab, Form Feed, Space, No-break space, Byte Order Mark, Any other Unicode "space separator"

See Also:
Constant Field Values
Method Detail

create

public static com.sonar.sslr.impl.Lexer create(EcmaScriptConfiguration conf)


Copyright © 2011-2014 SonarSource and Eriks Nukis. All Rights Reserved.