public interface IToken
Modifier and Type | Interface and Description |
---|---|
static class |
IToken.ContextSensitiveTokenType
Token types for context-sensitive tokens.
|
Modifier and Type | Field and Description |
---|---|
static int |
FIRST_RESERVED_IExtensionToken |
static int |
FIRST_RESERVED_IGCCToken |
static int |
FIRST_RESERVED_PREPROCESSOR |
static int |
FIRST_RESERVED_SCANNER |
static int |
LAST_RESERVED_IExtensionToken |
static int |
LAST_RESERVED_IGCCToken |
static int |
LAST_RESERVED_PREPROCESSOR |
static int |
LAST_RESERVED_SCANNER |
static int |
t__Alignas |
static int |
t__Alignof |
static int |
t__Bool |
static int |
t__Complex |
static int |
t__Imaginary |
static int |
t_alignas |
static int |
t_alignof |
static int |
t_and
Deprecated.
Use
tAND . @noreference This field is not intended to be referenced by clients. |
static int |
t_and_eq
Deprecated.
Use
tAMPERASSIGN . @noreference This field is not intended to be referenced by clients. |
static int |
t_asm |
static int |
t_auto |
static int |
t_bitand
Deprecated.
Use
tAMPER . @noreference This field is not intended to be referenced by clients. |
static int |
t_bitor
Deprecated.
Use
tBITOR . @noreference This field is not intended to be referenced by clients. |
static int |
t_bool |
static int |
t_break |
static int |
t_case |
static int |
t_catch |
static int |
t_char |
static int |
t_char16_t |
static int |
t_char32_t |
static int |
t_class |
static int |
t_compl
Deprecated.
Use
tBITCOMPLEMENT . @noreference This field is not intended to be referenced by clients. |
static int |
t_const |
static int |
t_const_cast |
static int |
t_constexpr |
static int |
t_continue |
static int |
t_decltype |
static int |
t_default |
static int |
t_delete |
static int |
t_do |
static int |
t_double |
static int |
t_dynamic_cast |
static int |
t_else |
static int |
t_enum |
static int |
t_explicit |
static int |
t_export |
static int |
t_extern |
static int |
t_false |
static int |
t_float |
static int |
t_for |
static int |
t_friend |
static int |
t_goto |
static int |
t_if |
static int |
t_inline |
static int |
t_int |
static int |
t_long |
static int |
t_mutable |
static int |
t_namespace |
static int |
t_new |
static int |
t_noexcept |
static int |
t_not
Deprecated.
Use
tNOT . @noreference This field is not intended to be referenced by clients. |
static int |
t_not_eq
Deprecated.
Use
tNOTEQUAL @noreference This field is not intended to be referenced by clients. |
static int |
t_nullptr |
static int |
t_operator |
static int |
t_or
Deprecated.
Use
tOR @noreference This field is not intended to be referenced by clients. |
static int |
t_or_eq
Deprecated.
Use
tBITORASSIGN . @noreference This field is not intended to be referenced by clients. |
static int |
t_PRAGMA |
static int |
t_private |
static int |
t_protected |
static int |
t_public |
static int |
t_register |
static int |
t_reinterpret_cast |
static int |
t_restrict |
static int |
t_return |
static int |
t_short |
static int |
t_signed |
static int |
t_sizeof |
static int |
t_static |
static int |
t_static_assert |
static int |
t_static_cast |
static int |
t_struct |
static int |
t_switch |
static int |
t_template |
static int |
t_this |
static int |
t_thread_local |
static int |
t_throw |
static int |
t_true |
static int |
t_try |
static int |
t_typedef |
static int |
t_typeid |
static int |
t_typename |
static int |
t_union |
static int |
t_unsigned |
static int |
t_using |
static int |
t_virtual |
static int |
t_void |
static int |
t_volatile |
static int |
t_wchar_t |
static int |
t_while |
static int |
t_xor
Deprecated.
Use
tXOR . @noreference This field is not intended to be referenced by clients. |
static int |
t_xor_eq
Deprecated.
Use
tXORASSIGN . @noreference This field is not intended to be referenced by clients. |
static int |
tAMPER |
static int |
tAMPERASSIGN |
static int |
tAND |
static int |
tARROW |
static int |
tARROWSTAR |
static int |
tASSIGN |
static int |
tBITCOMPLEMENT |
static int |
tBITOR |
static int |
tBITORASSIGN |
static int |
tBLOCKCOMMENT
Deprecated.
Not used. @noreference This field is not intended to be referenced by clients.
|
static int |
tCHAR |
static int |
tCOLON |
static int |
tCOLONCOLON |
static int |
tCOMMA |
static int |
tCOMMENT
Deprecated.
Not used. @noreference This field is not intended to be referenced by clients.
|
static int |
tCOMPL
Deprecated.
Use
tBITCOMPLEMENT . @noreference This field is not intended to be referenced by clients. |
static int |
tCOMPLETION |
static int |
tDECR |
static int |
tDIV |
static int |
tDIVASSIGN |
static int |
tDOT |
static int |
tDOTSTAR |
static int |
tELLIPSIS |
static int |
tEND_OF_INPUT |
static int |
tEOC |
static int |
tEQUAL |
static int |
tFLOATINGPT |
static int |
tGT |
static int |
tGT_in_SHIFTR |
static int |
tGTEQUAL |
static int |
tIDENTIFIER |
static int |
tINACTIVE_CODE_END |
static int |
tINACTIVE_CODE_SEPARATOR |
static int |
tINACTIVE_CODE_START |
static int |
tINCR |
static int |
tINTEGER |
static int |
tLBRACE |
static int |
tLBRACKET |
static int |
tLCHAR |
static int |
tLPAREN |
static int |
tLSTRING |
static int |
tLT |
static int |
tLTEQUAL |
static int |
tMACROEXP
Deprecated.
Not used. @noreference This field is not intended to be referenced by clients.
|
static int |
tMINUS |
static int |
tMINUSASSIGN |
static int |
tMOD |
static int |
tMODASSIGN |
static int |
tNOT |
static int |
tNOTEQUAL |
static int |
tOR |
static int |
tPLUS |
static int |
tPLUSASSIGN |
static int |
tPOUND |
static int |
tPOUNDPOUND |
static int |
tQUESTION |
static int |
tRBRACE |
static int |
tRBRACKET |
static int |
tRPAREN |
static int |
tSEMI |
static int |
tSHIFTL |
static int |
tSHIFTLASSIGN |
static int |
tSHIFTR |
static int |
tSHIFTRASSIGN |
static int |
tSTAR |
static int |
tSTARASSIGN |
static int |
tSTRING |
static int |
tUNKNOWN_CHAR |
static int |
tUSER_DEFINED_CHAR_LITERAL |
static int |
tUSER_DEFINED_STRING_LITERAL |
static int |
tUTF16CHAR |
static int |
tUTF16STRING |
static int |
tUTF32CHAR |
static int |
tUTF32STRING |
static int |
tXOR |
static int |
tXORASSIGN |
Modifier and Type | Method and Description |
---|---|
char[] |
getCharImage() |
int |
getEndOffset() |
String |
getImage() |
int |
getLength() |
IToken |
getNext() |
int |
getOffset() |
int |
getType() |
boolean |
isOperator()
Deprecated.
|
void |
setNext(IToken t) |
void |
setType(int i) |
static final int FIRST_RESERVED_PREPROCESSOR
static final int LAST_RESERVED_PREPROCESSOR
static final int FIRST_RESERVED_SCANNER
static final int LAST_RESERVED_SCANNER
static final int t_PRAGMA
static final int tIDENTIFIER
static final int tINTEGER
static final int tCOLONCOLON
static final int tCOLON
static final int tSEMI
static final int tCOMMA
static final int tQUESTION
static final int tLPAREN
static final int tRPAREN
static final int tLBRACKET
static final int tRBRACKET
static final int tLBRACE
static final int tRBRACE
static final int tPLUSASSIGN
static final int tINCR
static final int tPLUS
static final int tMINUSASSIGN
static final int tDECR
static final int tARROWSTAR
static final int tARROW
static final int tMINUS
static final int tSTARASSIGN
static final int tSTAR
static final int tMODASSIGN
static final int tMOD
static final int tXORASSIGN
static final int tXOR
static final int tAMPERASSIGN
static final int tAND
static final int tAMPER
static final int tBITORASSIGN
static final int tOR
static final int tBITOR
static final int tBITCOMPLEMENT
static final int tNOTEQUAL
static final int tNOT
static final int tEQUAL
static final int tASSIGN
static final int tUNKNOWN_CHAR
static final int tSHIFTL
static final int tLTEQUAL
static final int tLT
static final int tSHIFTRASSIGN
static final int tSHIFTR
static final int tGTEQUAL
static final int tGT
static final int tSHIFTLASSIGN
static final int tELLIPSIS
static final int tDOTSTAR
static final int tDOT
static final int tDIVASSIGN
static final int tDIV
static final int tGT_in_SHIFTR
IScanner.setSplitShiftROperator(boolean)
,
Constant Field Valuesstatic final int t_alignas
static final int t_alignof
static final int t_asm
static final int t_auto
static final int t_bool
static final int t_break
static final int t_case
static final int t_catch
static final int t_char
static final int t_char16_t
static final int t_char32_t
static final int t_class
static final int t_const
static final int t_constexpr
static final int t_const_cast
static final int t_continue
static final int t_decltype
static final int t_default
static final int t_delete
static final int t_do
static final int t_double
static final int t_dynamic_cast
static final int t_else
static final int t_enum
static final int t_explicit
static final int t_export
static final int t_extern
static final int t_false
static final int t_float
static final int t_for
static final int t_friend
static final int t_goto
static final int t_if
static final int t_inline
static final int t_int
static final int t_long
static final int t_mutable
static final int t_namespace
static final int t_new
static final int t_noexcept
static final int t_nullptr
static final int t_operator
static final int t_private
static final int t_protected
static final int t_public
static final int t_register
static final int t_reinterpret_cast
static final int t_return
static final int t_short
static final int t_sizeof
static final int t_static
static final int t_static_assert
static final int t_static_cast
static final int t_signed
static final int t_struct
static final int t_switch
static final int t_template
static final int t_this
static final int t_thread_local
static final int t_throw
static final int t_true
static final int t_try
static final int t_typedef
static final int t_typeid
static final int t_typename
static final int t_union
static final int t_unsigned
static final int t_using
static final int t_virtual
static final int t_void
static final int t_volatile
static final int t_wchar_t
static final int t_while
static final int tFLOATINGPT
static final int tSTRING
static final int tLSTRING
static final int tUTF16STRING
static final int tUTF32STRING
static final int tUSER_DEFINED_STRING_LITERAL
static final int tCHAR
static final int tLCHAR
static final int tUTF16CHAR
static final int tUTF32CHAR
static final int tUSER_DEFINED_CHAR_LITERAL
static final int t__Alignas
static final int t__Alignof
static final int t__Bool
static final int t__Complex
static final int t__Imaginary
static final int t_restrict
static final int tPOUND
static final int tPOUNDPOUND
static final int tCOMPLETION
static final int tEOC
static final int tEND_OF_INPUT
static final int tINACTIVE_CODE_START
static final int tINACTIVE_CODE_SEPARATOR
static final int tINACTIVE_CODE_END
static final int FIRST_RESERVED_IGCCToken
static final int LAST_RESERVED_IGCCToken
static final int FIRST_RESERVED_IExtensionToken
static final int LAST_RESERVED_IExtensionToken
@Deprecated static final int t_and
tAND
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_and_eq
tAMPERASSIGN
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_bitand
tAMPER
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_bitor
tBITOR
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int tCOMPL
tBITCOMPLEMENT
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_compl
tBITCOMPLEMENT
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_not
tNOT
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_not_eq
tNOTEQUAL
@noreference This field is not intended to be referenced by clients.@Deprecated static final int t_or
tOR
@noreference This field is not intended to be referenced by clients.@Deprecated static final int t_or_eq
tBITORASSIGN
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_xor
tXOR
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int t_xor_eq
tXORASSIGN
. @noreference This field is not intended to be referenced by clients.@Deprecated static final int tMACROEXP
@Deprecated static final int tCOMMENT
@Deprecated static final int tBLOCKCOMMENT
int getType()
String getImage()
char[] getCharImage()
int getOffset()
int getLength()
int getEndOffset()
IToken getNext()
void setNext(IToken t)
void setType(int i)
@Deprecated boolean isOperator()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.