From 4e1b2b406fa12db197374eb0ae7913c34d08a4f2 Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 20 Jun 2023 19:28:39 +0200 Subject: [PATCH] idl - add idl_check.ysl2 - a static analyser for interface descriptions --- idl/idl_check.ysl2 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 idl/idl_check.ysl2 diff --git a/idl/idl_check.ysl2 b/idl/idl_check.ysl2 new file mode 100644 index 0000000..be0824e --- /dev/null +++ b/idl/idl_check.ysl2 @@ -0,0 +1,20 @@ +// IDL Check +// Static analysis of code written in pEpACIDLang IDL +// no output - no problems + +include yslt.yml2 + +tstylesheet { + include idl_api.ysl2 + + // The idl-api owns the root template and executes validation + // of the interface description. + // Errors will be printed to stdout. + // After successful validation, the idl-api applies the + // template called "pEpACIDLang" + + template "pEpACIDLang" { + > No problems found. + } +} +