Schnittstelle ITerminalSymbols
- Alle bekannten Implementierungsklassen:
PublicScanner
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.
- Seit:
- 2.0
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic 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
Veraltet.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
-
Felddetails
-
TokenNameWHITESPACE
static final int TokenNameWHITESPACE- Siehe auch:
-
TokenNameCOMMENT_LINE
static final int TokenNameCOMMENT_LINE- Siehe auch:
-
TokenNameCOMMENT_BLOCK
static final int TokenNameCOMMENT_BLOCK- Siehe auch:
-
TokenNameCOMMENT_JAVADOC
static final int TokenNameCOMMENT_JAVADOC- Siehe auch:
-
TokenNameIdentifier
Veraltet.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
).- Siehe auch:
-
TokenNameabstract
static final int TokenNameabstract- Siehe auch:
-
TokenNameassert
static final int TokenNameassert"assert" token (added in J2SE 1.4).- Siehe auch:
-
TokenNameboolean
static final int TokenNameboolean- Siehe auch:
-
TokenNamebreak
static final int TokenNamebreak- Siehe auch:
-
TokenNamebyte
static final int TokenNamebyte- Siehe auch:
-
TokenNamecase
static final int TokenNamecase- Siehe auch:
-
TokenNamecatch
static final int TokenNamecatch- Siehe auch:
-
TokenNamechar
static final int TokenNamechar- Siehe auch:
-
TokenNameclass
static final int TokenNameclass- Siehe auch:
-
TokenNamecontinue
static final int TokenNamecontinue- Siehe auch:
-
TokenNamedefault
static final int TokenNamedefault- Siehe auch:
-
TokenNamedo
static final int TokenNamedo- Siehe auch:
-
TokenNamedouble
static final int TokenNamedouble- Siehe auch:
-
TokenNameelse
static final int TokenNameelse- Siehe auch:
-
TokenNameextends
static final int TokenNameextends- Siehe auch:
-
TokenNamefalse
static final int TokenNamefalse- Siehe auch:
-
TokenNamefinal
static final int TokenNamefinal- Siehe auch:
-
TokenNamefinally
static final int TokenNamefinally- Siehe auch:
-
TokenNamefloat
static final int TokenNamefloat- Siehe auch:
-
TokenNamefor
static final int TokenNamefor- Siehe auch:
-
TokenNameif
static final int TokenNameif- Siehe auch:
-
TokenNameimplements
static final int TokenNameimplements- Siehe auch:
-
TokenNameimport
static final int TokenNameimport- Siehe auch:
-
TokenNameinstanceof
static final int TokenNameinstanceof- Siehe auch:
-
TokenNameint
static final int TokenNameint- Siehe auch:
-
TokenNameinterface
static final int TokenNameinterface- Siehe auch:
-
TokenNamelong
static final int TokenNamelong- Siehe auch:
-
TokenNamenative
static final int TokenNamenative- Siehe auch:
-
TokenNamenew
static final int TokenNamenew- Siehe auch:
-
TokenNamepackage
static final int TokenNamepackage- Siehe auch:
-
TokenNameprivate
static final int TokenNameprivate- Siehe auch:
-
TokenNameprotected
static final int TokenNameprotected- Siehe auch:
-
TokenNamepublic
static final int TokenNamepublic- Siehe auch:
-
TokenNamereturn
static final int TokenNamereturn- Siehe auch:
-
TokenNameshort
static final int TokenNameshort- Siehe auch:
-
TokenNamestatic
static final int TokenNamestatic- Siehe auch:
-
TokenNamestrictfp
static final int TokenNamestrictfp- Siehe auch:
-
TokenNamesuper
static final int TokenNamesuper- Siehe auch:
-
TokenNameswitch
static final int TokenNameswitch- Siehe auch:
-
TokenNamesynchronized
static final int TokenNamesynchronized- Siehe auch:
-
TokenNamethis
static final int TokenNamethis- Siehe auch:
-
TokenNamethrow
static final int TokenNamethrow- Siehe auch:
-
TokenNamethrows
static final int TokenNamethrows- Siehe auch:
-
TokenNametransient
static final int TokenNametransient- Siehe auch:
-
TokenNametrue
static final int TokenNametrue- Siehe auch:
-
TokenNametry
static final int TokenNametry- Siehe auch:
-
TokenNamevoid
static final int TokenNamevoid- Siehe auch:
-
TokenNamevolatile
static final int TokenNamevolatile- Siehe auch:
-
TokenNamewhile
static final int TokenNamewhile- Siehe auch:
-
TokenNameIntegerLiteral
static final int TokenNameIntegerLiteral- Siehe auch:
-
TokenNameLongLiteral
static final int TokenNameLongLiteral- Siehe auch:
-
TokenNameFloatingPointLiteral
static final int TokenNameFloatingPointLiteral- Siehe auch:
-
TokenNameDoubleLiteral
static final int TokenNameDoubleLiteral- Siehe auch:
-
TokenNameCharacterLiteral
static final int TokenNameCharacterLiteral- Siehe auch:
-
TokenNameStringLiteral
static final int TokenNameStringLiteral- Siehe auch:
-
TokenNameTextBlock
static final int TokenNameTextBlock- Seit:
- 3.20
- Siehe auch:
-
TokenNamePLUS_PLUS
static final int TokenNamePLUS_PLUS- Siehe auch:
-
TokenNameMINUS_MINUS
static final int TokenNameMINUS_MINUS- Siehe auch:
-
TokenNameEQUAL_EQUAL
static final int TokenNameEQUAL_EQUAL- Siehe auch:
-
TokenNameLESS_EQUAL
static final int TokenNameLESS_EQUAL- Siehe auch:
-
TokenNameGREATER_EQUAL
static final int TokenNameGREATER_EQUAL- Siehe auch:
-
TokenNameNOT_EQUAL
static final int TokenNameNOT_EQUAL- Siehe auch:
-
TokenNameLEFT_SHIFT
static final int TokenNameLEFT_SHIFT- Siehe auch:
-
TokenNameRIGHT_SHIFT
static final int TokenNameRIGHT_SHIFT- Siehe auch:
-
TokenNameUNSIGNED_RIGHT_SHIFT
static final int TokenNameUNSIGNED_RIGHT_SHIFT- Siehe auch:
-
TokenNamePLUS_EQUAL
static final int TokenNamePLUS_EQUAL- Siehe auch:
-
TokenNameMINUS_EQUAL
static final int TokenNameMINUS_EQUAL- Siehe auch:
-
TokenNameMULTIPLY_EQUAL
static final int TokenNameMULTIPLY_EQUAL- Siehe auch:
-
TokenNameDIVIDE_EQUAL
static final int TokenNameDIVIDE_EQUAL- Siehe auch:
-
TokenNameAND_EQUAL
static final int TokenNameAND_EQUAL- Siehe auch:
-
TokenNameOR_EQUAL
static final int TokenNameOR_EQUAL- Siehe auch:
-
TokenNameXOR_EQUAL
static final int TokenNameXOR_EQUAL- Siehe auch:
-
TokenNameREMAINDER_EQUAL
static final int TokenNameREMAINDER_EQUAL- Siehe auch:
-
TokenNameLEFT_SHIFT_EQUAL
static final int TokenNameLEFT_SHIFT_EQUAL- Siehe auch:
-
TokenNameRIGHT_SHIFT_EQUAL
static final int TokenNameRIGHT_SHIFT_EQUAL- Siehe auch:
-
TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL
static final int TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL- Siehe auch:
-
TokenNameOR_OR
static final int TokenNameOR_OR- Siehe auch:
-
TokenNameAND_AND
static final int TokenNameAND_AND- Siehe auch:
-
TokenNamePLUS
static final int TokenNamePLUS- Siehe auch:
-
TokenNameMINUS
static final int TokenNameMINUS- Siehe auch:
-
TokenNameNOT
static final int TokenNameNOT- Siehe auch:
-
TokenNameREMAINDER
static final int TokenNameREMAINDER- Siehe auch:
-
TokenNameXOR
static final int TokenNameXOR- Siehe auch:
-
TokenNameAND
static final int TokenNameAND- Siehe auch:
-
TokenNameMULTIPLY
static final int TokenNameMULTIPLY- Siehe auch:
-
TokenNameOR
static final int TokenNameOR- Siehe auch:
-
TokenNameTWIDDLE
static final int TokenNameTWIDDLE- Siehe auch:
-
TokenNameDIVIDE
static final int TokenNameDIVIDE- Siehe auch:
-
TokenNameGREATER
static final int TokenNameGREATER- Siehe auch:
-
TokenNameLESS
static final int TokenNameLESS- Siehe auch:
-
TokenNameLPAREN
static final int TokenNameLPAREN- Siehe auch:
-
TokenNameRPAREN
static final int TokenNameRPAREN- Siehe auch:
-
TokenNameLBRACE
static final int TokenNameLBRACE- Siehe auch:
-
TokenNameRBRACE
static final int TokenNameRBRACE- Siehe auch:
-
TokenNameLBRACKET
static final int TokenNameLBRACKET- Siehe auch:
-
TokenNameRBRACKET
static final int TokenNameRBRACKET- Siehe auch:
-
TokenNameSEMICOLON
static final int TokenNameSEMICOLON- Siehe auch:
-
TokenNameQUESTION
static final int TokenNameQUESTION- Siehe auch:
-
TokenNameCOLON
static final int TokenNameCOLON- Siehe auch:
-
TokenNameCOMMA
static final int TokenNameCOMMA- Siehe auch:
-
TokenNameDOT
static final int TokenNameDOT- Siehe auch:
-
TokenNameEQUAL
static final int TokenNameEQUAL- Siehe auch:
-
TokenNameEOF
static final int TokenNameEOF- Siehe auch:
-
TokenNameERROR
static final int TokenNameERROR- Siehe auch:
-
TokenNameenum
static final int TokenNameenum"enum" keyword (added in J2SE 1.5).- Seit:
- 3.0
- Siehe auch:
-
TokenNameAT
static final int TokenNameAT"@" token (added in J2SE 1.5).- Seit:
- 3.0
- Siehe auch:
-
TokenNameELLIPSIS
static final int TokenNameELLIPSIS"..." token (added in J2SE 1.5).- Seit:
- 3.0
- Siehe auch:
-
TokenNameconst
static final int TokenNameconst- Seit:
- 3.1
- Siehe auch:
-
TokenNamegoto
static final int TokenNamegoto- Seit:
- 3.1
- Siehe auch:
-
TokenNameARROW
static final int TokenNameARROW- Seit:
- 3.10
- Siehe auch:
-
TokenNameCOLON_COLON
static final int TokenNameCOLON_COLON- Seit:
- 3.10
- Siehe auch:
-
TokenNameNotAToken
static final int TokenNameNotAToken- Seit:
- 3.30
- Siehe auch:
-
TokenNameRestrictedIdentifierYield
static final int TokenNameRestrictedIdentifierYield- Seit:
- 3.30
- Siehe auch:
-
TokenNameRestrictedIdentifierpermits
static final int TokenNameRestrictedIdentifierpermits- Seit:
- 3.30
- Siehe auch:
-
TokenNameRestrictedIdentifierrecord
static final int TokenNameRestrictedIdentifierrecord- Seit:
- 3.30
- Siehe auch:
-
TokenNameRestrictedIdentifiersealed
static final int TokenNameRestrictedIdentifiersealed- Seit:
- 3.30
- Siehe auch:
-
TokenNameSingleQuoteStringLiteral
static final int TokenNameSingleQuoteStringLiteral- Seit:
- 3.30
- Siehe auch:
-
TokenNamenon_sealed
static final int TokenNamenon_sealed- Seit:
- 3.30
- Siehe auch:
-
TokenNameRestrictedIdentifierWhen
static final int TokenNameRestrictedIdentifierWhen- Seit:
- 3.32
- Siehe auch:
-