Enum IdlToken
- java.lang.Object
- 
- java.lang.Enum<IdlToken>
- 
- software.amazon.smithy.model.loader.IdlToken
 
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDebug()java.lang.StringgetDebug(java.lang.CharSequence lexeme)booleanisWhitespace()static IdlTokenvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IdlToken[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SPACEpublic static final IdlToken SPACE 
 - 
NEWLINEpublic static final IdlToken NEWLINE 
 - 
COMMApublic static final IdlToken COMMA 
 - 
COMMENTpublic static final IdlToken COMMENT 
 - 
DOC_COMMENTpublic static final IdlToken DOC_COMMENT 
 - 
ATpublic static final IdlToken AT 
 - 
STRINGpublic static final IdlToken STRING 
 - 
TEXT_BLOCKpublic static final IdlToken TEXT_BLOCK 
 - 
COLONpublic static final IdlToken COLON 
 - 
WALRUSpublic static final IdlToken WALRUS 
 - 
IDENTIFIERpublic static final IdlToken IDENTIFIER 
 - 
DOTpublic static final IdlToken DOT 
 - 
POUNDpublic static final IdlToken POUND 
 - 
DOLLARpublic static final IdlToken DOLLAR 
 - 
NUMBERpublic static final IdlToken NUMBER 
 - 
LBRACEpublic static final IdlToken LBRACE 
 - 
RBRACEpublic static final IdlToken RBRACE 
 - 
LBRACKETpublic static final IdlToken LBRACKET 
 - 
RBRACKETpublic static final IdlToken RBRACKET 
 - 
LPARENpublic static final IdlToken LPAREN 
 - 
RPARENpublic static final IdlToken RPAREN 
 - 
EQUALpublic static final IdlToken EQUAL 
 - 
EOFpublic static final IdlToken EOF 
 - 
ERRORpublic static final IdlToken ERROR 
 
- 
 - 
Method Detail- 
valuespublic static IdlToken[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IdlToken c : IdlToken.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static IdlToken valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getDebugpublic java.lang.String getDebug() 
 - 
getDebugpublic java.lang.String getDebug(java.lang.CharSequence lexeme) 
 - 
isWhitespacepublic boolean isWhitespace() 
 
- 
 
-