diff options
Diffstat (limited to 'support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/Argument.kt')
-rw-r--r-- | support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/Argument.kt | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/Argument.kt b/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/Argument.kt deleted file mode 100644 index dfd2b99403..0000000000 --- a/support/arara/source/src/main/kotlin/org/islandoftex/arara/ruleset/Argument.kt +++ /dev/null @@ -1,40 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -package org.islandoftex.arara.ruleset - -import kotlinx.serialization.SerialName -import kotlinx.serialization.Serializable -import org.islandoftex.arara.utils.CommonUtils - -/** - * The rule argument model. - * - * @author Island of TeX - * @version 5.0 - * @since 4.0 - */ -@Serializable -class Argument { - /** - * The argument identifier - */ - var identifier: String? = null - get() = CommonUtils.removeKeyword(field) - - /** - * Boolean indicating if the current argument is required - */ - @SerialName("required") - var isRequired: Boolean = false - - /** - * Flag to hold the argument value manipulation - */ - var flag: String? = null - get() = CommonUtils.removeKeyword(field) - - /** - * The argument fallback if it is not defined in the directive - */ - var default: String? = null - get() = CommonUtils.removeKeyword(field) -} |