Uses of Enum Class
org.openjdk.asmtools.jasm.JasmTokens.Token
Packages that use JasmTokens.Token
-
Uses of JasmTokens.Token in org.openjdk.asmtools.jasm
Fields in org.openjdk.asmtools.jasm declared as JasmTokens.TokenFields in org.openjdk.asmtools.jasm with type parameters of type JasmTokens.TokenModifier and TypeFieldDescription(package private) static final EnumSet<JasmTokens.Token>
JasmTokens.Token.ALL_TOKENS
Methods in org.openjdk.asmtools.jasm that return JasmTokens.TokenModifier and TypeMethodDescriptionstatic JasmTokens.Token
JasmTokens.keyword_token_ident
(String idValue) static JasmTokens.Token
Returns the enum constant of this class with the specified name.static JasmTokens.Token[]
JasmTokens.Token.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openjdk.asmtools.jasm that return types with arguments of type JasmTokens.TokenModifier and TypeMethodDescriptionstatic Optional<JasmTokens.Token>
JasmTokens.Token.get
(String parseKey, JasmTokens.KeywordType keywordType) Methods in org.openjdk.asmtools.jasm with parameters of type JasmTokens.TokenModifier and TypeMethodDescriptionprotected final void
Scanner.check
(JasmTokens.Token t) Checks a token, throws an exception if not the sameprotected final void
Scanner.expect
(JasmTokens.Token t) Expects a token, scans the next token or throws an exception.boolean
JasmTokens.Token.in
(JasmTokens.Token... tokens) Checks that this enum element is in an enum listprivate void
Parser.match
(JasmTokens.Token open, JasmTokens.Token close) The match() method is used to quickly match opening brackets (ie: '(', '{', or '[') with their closing counterpart.private <T extends ModuleContent.TargetType>
voidParser.scanStatement
(BiConsumer<T, Set<ModuleContent.TargetType>> action, Parser.NameSupplier source, Parser.NameSupplier target, JasmTokens.Token startList, boolean emptyListAllowed, String err) Scans Module Statement(s): exports [mandated|synthetic] packageName [to ModuleName {, ModuleName}*] ; opens [mandated|synthetic] packageName [to ModuleName {, ModuleName}*] ; provides TypeName with TypeName {,typeName} ;