Skip navigation links
A B C G H I M N P T V W 

A

ArgumentTypeParser - Interface in me.lucko.commodore.file
A parser for ArgumentTypes.

B

BrigadierArgumentTypeParser - Class in me.lucko.commodore.file
An ArgumentTypeParser for brigadier argument types.
build() - Method in class me.lucko.commodore.file.CommodoreFileReader.Builder
builder() - Static method in class me.lucko.commodore.file.CommodoreFileReader
Creates a new CommodoreFileReader builder.

C

canParse(String, String) - Method in interface me.lucko.commodore.file.ArgumentTypeParser
Gets if this parser supports the given type.
canParse(String, String) - Method in class me.lucko.commodore.file.BrigadierArgumentTypeParser
 
CommodoreFileReader - Class in me.lucko.commodore.file
The '.commodore' file format is a simplified way of representing Brigadier command node trees in a string form.
CommodoreFileReader.Builder - Class in me.lucko.commodore.file
Builder for CommodoreFileReader.
createException(String) - Method in interface me.lucko.commodore.file.TokenStream
 
createException(Throwable) - Method in interface me.lucko.commodore.file.TokenStream
 
createException(String, Throwable) - Method in interface me.lucko.commodore.file.TokenStream
 

G

getString() - Method in class me.lucko.commodore.file.Token.StringToken
 

H

hasNext() - Method in interface me.lucko.commodore.file.TokenStream
Gets if there are more tokens.

I

INSTANCE - Static variable in class me.lucko.commodore.file.BrigadierArgumentTypeParser
 
INSTANCE - Static variable in class me.lucko.commodore.file.CommodoreFileReader
A default instance of CommodoreFileReader.

M

me.lucko.commodore.file - package me.lucko.commodore.file
 

N

next() - Method in interface me.lucko.commodore.file.TokenStream
Gets and consumes the next token.

P

parse(String, String, TokenStream) - Method in interface me.lucko.commodore.file.ArgumentTypeParser
Parses an ArgumentType.
parse(String, String, TokenStream) - Method in class me.lucko.commodore.file.BrigadierArgumentTypeParser
 
parse(Reader) - Method in class me.lucko.commodore.file.CommodoreFileReader
Parses a LiteralCommandNode from a commodore file.
parse(InputStream) - Method in class me.lucko.commodore.file.CommodoreFileReader
Parses a LiteralCommandNode from a commodore file.
parse(Path) - Method in class me.lucko.commodore.file.CommodoreFileReader
Parses a LiteralCommandNode from a commodore file.
parse(File) - Method in class me.lucko.commodore.file.CommodoreFileReader
Parses a LiteralCommandNode from a commodore file.
ParseException - Exception in me.lucko.commodore.file
Exception that is thrown if there was a problem parsing.
peek() - Method in interface me.lucko.commodore.file.TokenStream
Gets without consuming the next token.

T

Token - Interface in me.lucko.commodore.file
Represents a token within a commodore file.
Token.ConstantToken - Enum in me.lucko.commodore.file
An enum of constant tokens.
Token.StringToken - Class in me.lucko.commodore.file
A string token.
TokenStream - Interface in me.lucko.commodore.file
A stream of tokens.

V

valueOf(String) - Static method in enum me.lucko.commodore.file.Token.ConstantToken
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.lucko.commodore.file.Token.ConstantToken
Returns an array containing the constants of this enum type, in the order they are declared.

W

withArgumentTypeParser(ArgumentTypeParser) - Method in class me.lucko.commodore.file.CommodoreFileReader.Builder
Adds an ArgumentTypeParser for the parser to use.
A B C G H I M N P T V W 
Skip navigation links