Interface FunctionArgument.Result
- Enclosing class:
FunctionArgument
public static interface FunctionArgument.Result
-
Method Summary
Modifier and TypeMethodDescriptioncreate(CommandContext<CommandSourceStack> context) Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> unwrap(CommandContext<CommandSourceStack> context)
-
Method Details
-
create
Collection<CommandFunction<CommandSourceStack>> create(CommandContext<CommandSourceStack> context) throws CommandSyntaxException - Throws:
CommandSyntaxException
-
unwrap
Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> unwrap(CommandContext<CommandSourceStack> context) throws CommandSyntaxException - Throws:
CommandSyntaxException
-
unwrapToCollection
Pair<Identifier, Collection<CommandFunction<CommandSourceStack>>> unwrapToCollection(CommandContext<CommandSourceStack> context) throws CommandSyntaxException - Throws:
CommandSyntaxException
-