Package org.eclipse.jdt.core.compiler
Interface ITerminalSymbols
public interface ITerminalSymbols
Maps each terminal symbol in the java-grammar into a unique integer.
This integer is used to represent the terminal when computing a parsing action.
- Since:
- 2.0
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
"assert" token (added in J2SE 1.4).static final int
"@" token (added in J2SE 1.5).static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
"..." token (added in J2SE 1.5).static final int
static final int
"enum" keyword (added in J2SE 1.5).static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Deprecated.With the introduction of "restricted keywords" in Java 9, classification of tokens by a scanner is inherently unreliable.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Field Details
-
TokenNameWHITESPACE
static final int TokenNameWHITESPACE- See Also:
-
TokenNameCOMMENT_LINE
static final int TokenNameCOMMENT_LINE- See Also:
-
TokenNameCOMMENT_BLOCK
static final int TokenNameCOMMENT_BLOCK- See Also:
-
TokenNameCOMMENT_JAVADOC
static final int TokenNameCOMMENT_JAVADOC- See Also:
-
TokenNameIdentifier
Deprecated.With the introduction of "restricted keywords" in Java 9, classification of tokens by a scanner is inherently unreliable. Any token classified as an identifier could still be a "restricted keyword". Future versions of Java will introduce more words that have special syntactical meaning in specific contexts. For reliably detecting an identifier the only real solution is to use a parser instead (see also the caveat at the top of the interface documentation ofIScanner
).- See Also:
-
TokenNameabstract
static final int TokenNameabstract- See Also:
-
TokenNameassert
static final int TokenNameassert"assert" token (added in J2SE 1.4).- See Also:
-
TokenNameboolean
static final int TokenNameboolean- See Also:
-
TokenNamebreak
static final int TokenNamebreak- See Also:
-
TokenNamebyte
static final int TokenNamebyte- See Also:
-
TokenNamecase
static final int TokenNamecase- See Also:
-
TokenNamecatch
static final int TokenNamecatch- See Also:
-
TokenNamechar
static final int TokenNamechar- See Also:
-
TokenNameclass
static final int TokenNameclass- See Also:
-
TokenNamecontinue
static final int TokenNamecontinue- See Also:
-
TokenNamedefault
static final int TokenNamedefault- See Also:
-
TokenNamedo
static final int TokenNamedo- See Also:
-
TokenNamedouble
static final int TokenNamedouble- See Also:
-
TokenNameelse
static final int TokenNameelse- See Also:
-
TokenNameextends
static final int TokenNameextends- See Also:
-
TokenNamefalse
static final int TokenNamefalse- See Also:
-
TokenNamefinal
static final int TokenNamefinal- See Also:
-
TokenNamefinally
static final int TokenNamefinally- See Also:
-
TokenNamefloat
static final int TokenNamefloat- See Also:
-
TokenNamefor
static final int TokenNamefor- See Also:
-
TokenNameif
static final int TokenNameif- See Also:
-
TokenNameimplements
static final int TokenNameimplements- See Also:
-
TokenNameimport
static final int TokenNameimport- See Also:
-
TokenNameinstanceof
static final int TokenNameinstanceof- See Also:
-
TokenNameint
static final int TokenNameint- See Also:
-
TokenNameinterface
static final int TokenNameinterface- See Also:
-
TokenNamelong
static final int TokenNamelong- See Also:
-
TokenNamenative
static final int TokenNamenative- See Also:
-
TokenNamenew
static final int TokenNamenew- See Also:
-
TokenNamepackage
static final int TokenNamepackage- See Also:
-
TokenNameprivate
static final int TokenNameprivate- See Also:
-
TokenNameprotected
static final int TokenNameprotected- See Also:
-
TokenNamepublic
static final int TokenNamepublic- See Also:
-
TokenNamereturn
static final int TokenNamereturn- See Also:
-
TokenNameshort
static final int TokenNameshort- See Also:
-
TokenNamestatic
static final int TokenNamestatic- See Also:
-
TokenNamestrictfp
static final int TokenNamestrictfp- See Also:
-
TokenNamesuper
static final int TokenNamesuper- See Also:
-
TokenNameswitch
static final int TokenNameswitch- See Also:
-
TokenNamesynchronized
static final int TokenNamesynchronized- See Also:
-
TokenNamethis
static final int TokenNamethis- See Also:
-
TokenNamethrow
static final int TokenNamethrow- See Also:
-
TokenNamethrows
static final int TokenNamethrows- See Also:
-
TokenNametransient
static final int TokenNametransient- See Also:
-
TokenNametrue
static final int TokenNametrue- See Also:
-
TokenNametry
static final int TokenNametry- See Also:
-
TokenNamevoid
static final int TokenNamevoid- See Also:
-
TokenNamevolatile
static final int TokenNamevolatile- See Also:
-
TokenNamewhile
static final int TokenNamewhile- See Also:
-
TokenNameIntegerLiteral
static final int TokenNameIntegerLiteral- See Also:
-
TokenNameLongLiteral
static final int TokenNameLongLiteral- See Also:
-
TokenNameFloatingPointLiteral
static final int TokenNameFloatingPointLiteral- See Also:
-
TokenNameDoubleLiteral
static final int TokenNameDoubleLiteral- See Also:
-
TokenNameCharacterLiteral
static final int TokenNameCharacterLiteral- See Also:
-
TokenNameStringLiteral
static final int TokenNameStringLiteral- See Also:
-
TokenNameStringTemplate
static final int TokenNameStringTemplate- Since:
- 3.37
- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
TokenNameTextBlock
static final int TokenNameTextBlock- Since:
- 3.20
- See Also:
-
TokenNameTextBlockTemplate
static final int TokenNameTextBlockTemplate- Since:
- 3.37
- See Also:
- Restriction:
- This field is not intended to be referenced by clients.
-
TokenNamePLUS_PLUS
static final int TokenNamePLUS_PLUS- See Also:
-
TokenNameMINUS_MINUS
static final int TokenNameMINUS_MINUS- See Also:
-
TokenNameEQUAL_EQUAL
static final int TokenNameEQUAL_EQUAL- See Also:
-
TokenNameLESS_EQUAL
static final int TokenNameLESS_EQUAL- See Also:
-
TokenNameGREATER_EQUAL
static final int TokenNameGREATER_EQUAL- See Also:
-
TokenNameNOT_EQUAL
static final int TokenNameNOT_EQUAL- See Also:
-
TokenNameLEFT_SHIFT
static final int TokenNameLEFT_SHIFT- See Also:
-
TokenNameRIGHT_SHIFT
static final int TokenNameRIGHT_SHIFT- See Also:
-
TokenNameUNSIGNED_RIGHT_SHIFT
static final int TokenNameUNSIGNED_RIGHT_SHIFT- See Also:
-
TokenNamePLUS_EQUAL
static final int TokenNamePLUS_EQUAL- See Also:
-
TokenNameMINUS_EQUAL
static final int TokenNameMINUS_EQUAL- See Also:
-
TokenNameMULTIPLY_EQUAL
static final int TokenNameMULTIPLY_EQUAL- See Also:
-
TokenNameDIVIDE_EQUAL
static final int TokenNameDIVIDE_EQUAL- See Also:
-
TokenNameAND_EQUAL
static final int TokenNameAND_EQUAL- See Also:
-
TokenNameOR_EQUAL
static final int TokenNameOR_EQUAL- See Also:
-
TokenNameXOR_EQUAL
static final int TokenNameXOR_EQUAL- See Also:
-
TokenNameREMAINDER_EQUAL
static final int TokenNameREMAINDER_EQUAL- See Also:
-
TokenNameLEFT_SHIFT_EQUAL
static final int TokenNameLEFT_SHIFT_EQUAL- See Also:
-
TokenNameRIGHT_SHIFT_EQUAL
static final int TokenNameRIGHT_SHIFT_EQUAL- See Also:
-
TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL
static final int TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL- See Also:
-
TokenNameOR_OR
static final int TokenNameOR_OR- See Also:
-
TokenNameAND_AND
static final int TokenNameAND_AND- See Also:
-
TokenNamePLUS
static final int TokenNamePLUS- See Also:
-
TokenNameMINUS
static final int TokenNameMINUS- See Also:
-
TokenNameNOT
static final int TokenNameNOT- See Also:
-
TokenNameREMAINDER
static final int TokenNameREMAINDER- See Also:
-
TokenNameXOR
static final int TokenNameXOR- See Also:
-
TokenNameAND
static final int TokenNameAND- See Also:
-
TokenNameMULTIPLY
static final int TokenNameMULTIPLY- See Also:
-
TokenNameOR
static final int TokenNameOR- See Also:
-
TokenNameTWIDDLE
static final int TokenNameTWIDDLE- See Also:
-
TokenNameDIVIDE
static final int TokenNameDIVIDE- See Also:
-
TokenNameGREATER
static final int TokenNameGREATER- See Also:
-
TokenNameLESS
static final int TokenNameLESS- See Also:
-
TokenNameLPAREN
static final int TokenNameLPAREN- See Also:
-
TokenNameRPAREN
static final int TokenNameRPAREN- See Also:
-
TokenNameLBRACE
static final int TokenNameLBRACE- See Also:
-
TokenNameRBRACE
static final int TokenNameRBRACE- See Also:
-
TokenNameLBRACKET
static final int TokenNameLBRACKET- See Also:
-
TokenNameRBRACKET
static final int TokenNameRBRACKET- See Also:
-
TokenNameSEMICOLON
static final int TokenNameSEMICOLON- See Also:
-
TokenNameQUESTION
static final int TokenNameQUESTION- See Also:
-
TokenNameCOLON
static final int TokenNameCOLON- See Also:
-
TokenNameCOMMA
static final int TokenNameCOMMA- See Also:
-
TokenNameDOT
static final int TokenNameDOT- See Also:
-
TokenNameEQUAL
static final int TokenNameEQUAL- See Also:
-
TokenNameEOF
static final int TokenNameEOF- See Also:
-
TokenNameERROR
static final int TokenNameERROR- See Also:
-
TokenNameenum
static final int TokenNameenum"enum" keyword (added in J2SE 1.5).- Since:
- 3.0
- See Also:
-
TokenNameAT
static final int TokenNameAT"@" token (added in J2SE 1.5).- Since:
- 3.0
- See Also:
-
TokenNameELLIPSIS
static final int TokenNameELLIPSIS"..." token (added in J2SE 1.5).- Since:
- 3.0
- See Also:
-
TokenNameconst
static final int TokenNameconst- Since:
- 3.1
- See Also:
-
TokenNamegoto
static final int TokenNamegoto- Since:
- 3.1
- See Also:
-
TokenNameARROW
static final int TokenNameARROW- Since:
- 3.10
- See Also:
-
TokenNameCOLON_COLON
static final int TokenNameCOLON_COLON- Since:
- 3.10
- See Also:
-
TokenNameNotAToken
static final int TokenNameNotAToken- Since:
- 3.30
- See Also:
-
TokenNameRestrictedIdentifierYield
static final int TokenNameRestrictedIdentifierYield- Since:
- 3.30
- See Also:
-
TokenNameRestrictedIdentifierpermits
static final int TokenNameRestrictedIdentifierpermits- Since:
- 3.30
- See Also:
-
TokenNameRestrictedIdentifierrecord
static final int TokenNameRestrictedIdentifierrecord- Since:
- 3.30
- See Also:
-
TokenNameRestrictedIdentifiersealed
static final int TokenNameRestrictedIdentifiersealed- Since:
- 3.30
- See Also:
-
TokenNameSingleQuoteStringLiteral
static final int TokenNameSingleQuoteStringLiteral- Since:
- 3.30
- See Also:
-
TokenNamenon_sealed
static final int TokenNamenon_sealed- Since:
- 3.30
- See Also:
-
TokenNameRestrictedIdentifierWhen
static final int TokenNameRestrictedIdentifierWhen- Since:
- 3.32
- See Also:
-
TokenNameUNDERSCORE
static final int TokenNameUNDERSCORE- Since:
- 3.38
- See Also:
-