From 2bb09e71bf88e32a7759a57c5c113a46028481e9 Mon Sep 17 00:00:00 2001 From: Tony Tkacik Date: Thu, 11 Jun 2020 16:34:04 +0200 Subject: [PATCH] Axiom: Added metadata statement to language Signed-off-by: Tony Tkacik --- .../src/main/resources/axiom-model.axiom | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/infra/axiom/src/main/resources/axiom-model.axiom b/infra/axiom/src/main/resources/axiom-model.axiom index 930ab977434..a9be563338b 100644 --- a/infra/axiom/src/main/resources/axiom-model.axiom +++ b/infra/axiom/src/main/resources/axiom-model.axiom @@ -21,7 +21,8 @@ model axiom-model { supertype string; } - + type ItemCompleteness; // FIXME: Add definition + type ValueSignificance; // FIXME: Add definition // Axiom Infra Model type AxiomItem { @@ -35,12 +36,19 @@ model axiom-model { item value { type AxiomValue; } + + item completeness { + type ItemCompleteness; + } } type AxiomValue { item type { type AxiomTypeReference; } + item significance { + type ValueSignificance; + } item metadata { type AxiomItem; } @@ -285,6 +293,10 @@ model axiom-model { models (namespaces). """; } + + item metadata { + type AxiomMetadataDefinition; + } } type AxiomImportDeclaration { @@ -353,5 +365,12 @@ model axiom-model { } } + type AxiomMetadataDefinition { + supertype AxiomTypeDefinition; + //item itemName { + // type AxiomName; + //} + // TODO: Add limits for specific types + } }