From ea5ff08c09d9ebf20b5065c94907f1dbf7425c7c Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 8 Aug 2017 10:54:36 -0700 Subject: [PATCH] Add documentation type for a documentation entry. --- .../java/org/nwapw/abacus/function/DocumentationType.java | 7 +++++++ src/main/kotlin/org/nwapw/abacus/function/Documentation.kt | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/main/java/org/nwapw/abacus/function/DocumentationType.java diff --git a/src/main/java/org/nwapw/abacus/function/DocumentationType.java b/src/main/java/org/nwapw/abacus/function/DocumentationType.java new file mode 100644 index 0000000..0084657 --- /dev/null +++ b/src/main/java/org/nwapw/abacus/function/DocumentationType.java @@ -0,0 +1,7 @@ +package org.nwapw.abacus.function; + +public enum DocumentationType { + + FUNCTION + +} diff --git a/src/main/kotlin/org/nwapw/abacus/function/Documentation.kt b/src/main/kotlin/org/nwapw/abacus/function/Documentation.kt index b1c384b..fc9205b 100644 --- a/src/main/kotlin/org/nwapw/abacus/function/Documentation.kt +++ b/src/main/kotlin/org/nwapw/abacus/function/Documentation.kt @@ -10,6 +10,8 @@ package org.nwapw.abacus.function * @param name the name of the function in English. * @param description the short description of this function. * @param longDescription the full description of this function. + * @param type the things this documentation maps to. */ data class Documentation(val codeName: String, val name: String, - val description: String, val longDescription: String) \ No newline at end of file + val description: String, val longDescription: String, + val type: DocumentationType) \ No newline at end of file