Class NamedArgumentBag
java.lang.Object
be.seeseemelk.llamascript.arguments.NamedArgumentBag
- All Implemented Interfaces:
ArgumentBag
A bag of arguments that will keep the order in which the arguments were added.
The arguments are added with an index, which starts at one for the first argument.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an argument to the bag.void
writeTo
(StringBuilder builder) Writes the values inside the argument bag to a StringBuilder.
-
Constructor Details
-
NamedArgumentBag
public NamedArgumentBag()
-
-
Method Details
-
set
Adds an argument to the bag.- Parameters:
value
- The argument to add.- Returns:
- This instance.
-
writeTo
Description copied from interface:ArgumentBag
Writes the values inside the argument bag to a StringBuilder.- Specified by:
writeTo
in interfaceArgumentBag
- Parameters:
builder
- The StringBuilder to write to.
-