Package | Description |
---|---|
org.openjdk.asmtools.jasm |
Modifier and Type | Field and Description |
---|---|
protected JasmTokens.Token |
Scanner.token
Current token
|
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.EnumSet<JasmTokens.Token> |
JasmTokens.Token.ALL_TOKENS |
Modifier and Type | Method and Description |
---|---|
static JasmTokens.Token |
JasmTokens.keyword_token_ident(java.lang.String idValue) |
static JasmTokens.Token |
JasmTokens.Token.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JasmTokens.Token[] |
JasmTokens.Token.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<JasmTokens.Token> |
JasmTokens.Token.get(java.lang.String parsekey,
JasmTokens.KeywordType ktype) |
Modifier and Type | Method and Description |
---|---|
protected void |
Scanner.check(JasmTokens.Token t)
Checks a token, throws an exception if not the same
|
protected 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 list
|
private void |
Parser.match(JasmTokens.Token open,
JasmTokens.Token close)
The match() method is used to quickly match opening
brackets (ie: '(', '{', or '[') with their closing
counter part.
|
private void |
Parser.scanStatement(java.util.function.BiConsumer<java.lang.String,java.util.Set<java.lang.String>> action,
Parser.NameSupplier source,
Parser.NameSupplier target,
JasmTokens.Token startList,
boolean emptyListAllowed,
java.lang.String err)
Scans Module Statement(s):
exports packageName [to ModuleName {, ModuleName}] ;
opens packageName [to ModuleName {, ModuleName}] ;
provides TypeName with TypeName [,typeName] ;
|