public enum JSXLexerComment extends java.lang.Enum<JSXLexerComment>
| Enum Constant | Description |
|---|---|
COMMENT_HASH |
Comments start with
# |
COMMENT_PERCENT |
Comments start with
% |
COMMENT_SEMICOLON |
Comments start with
; |
| Modifier and Type | Method | Description |
|---|---|---|
int |
token() |
|
static JSXLexerComment |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static JSXLexerComment[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSXLexerComment COMMENT_HASH
#public static final JSXLexerComment COMMENT_PERCENT
%public static final JSXLexerComment COMMENT_SEMICOLON
;public static JSXLexerComment[] values()
for (JSXLexerComment c : JSXLexerComment.values()) System.out.println(c);
public static JSXLexerComment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int token()
Copyright © 2017 <code@io7m.com> http://io7m.com