Uses of Enum
net.aifusion.asn.TokenType
Package
Description
This package contains a partial implementation an ASN.1 parser and classes to manage ASN.1 values.
-
Uses of TokenType in net.aifusion.asn
Modifier and TypeMethodDescriptionToken.type()
Get the type of this tokenstatic TokenType
Returns the enum constant of this type with the specified name.static TokenType[]
TokenType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionboolean
Check if this token is of a given typeboolean
Tokenizer.lookAheadIs
(TokenType t) Check if the lookAhead token is of a given typeboolean
Tokenizer.lookAheadIs
(TokenType t, int offset) Check if the lookahead token at a given offset matches a given typeboolean
Check if a list of tokens matches the incoming tokensScan forward for a given token type (advancing the cursor to the token if found)Scan forward for a sequence of tokensvoid
Reset the type of this token to the expected typeSkip over a given token, and move past it