mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
* Change line endings * link: Checklist Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: described in detail Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: F´ key features Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: `Fw::Buffer` documentation is available Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: installing cmake command line tools on a mac Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: Svc.StaticMemory is described in more detail Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: testing_fw/predicates.py Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * link: the source code Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: a Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: adhered Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: cannot Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: case-sensitive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: deployment Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: filter events based on event severity Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: its Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: nonexistent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: prepending Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: products Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: schema Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: stressful Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: valued Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * Add check-spelling --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
79 lines
2.6 KiB
XML
79 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<grammar
|
|
xmlns="http://relaxng.org/ns/structure/1.0"
|
|
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
|
|
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
|
|
<!-- This is a common file for both interface_schema and internal_interface_schema. These two were originally merged into this file, but had to be split as a workaround to keep the same definitions but not validate component files that had the interface tag in it. -->
|
|
|
|
<include href="common_elements.rng"/>
|
|
|
|
<start>
|
|
<ref name="internal_interface_root_define"/>
|
|
</start>
|
|
|
|
<define name="internal_interface_root_define">
|
|
<a:documentation>Used for interfaces within components.</a:documentation>
|
|
<element name="internal_interfaces">
|
|
<a:documentation>Allows for multiple interfaces.</a:documentation>
|
|
<oneOrMore>
|
|
<element name="internal_interface">
|
|
<ref name="interface_define"/>
|
|
</element>
|
|
</oneOrMore>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="interface_define">
|
|
<interleave>
|
|
<!-- Required Attributes -->
|
|
|
|
<attribute name="name">
|
|
<a:documentation>Interface name.</a:documentation>
|
|
<text/>
|
|
</attribute>
|
|
|
|
<!-- Optional Attributes -->
|
|
|
|
<optional>
|
|
<a:documentation>Describes what to do if items are full.</a:documentation>
|
|
<attribute name="full">
|
|
<ref name="full_items_define"/>
|
|
</attribute>
|
|
</optional>
|
|
|
|
<optional>
|
|
<attribute name="priority">
|
|
<data type="integer"/>
|
|
</attribute>
|
|
</optional>
|
|
|
|
<!-- Elements -->
|
|
|
|
<zeroOrMore>
|
|
<element name="include_header">
|
|
<a:documentation>Defines the header file of the interface.</a:documentation>
|
|
<data type="anyURI"/>
|
|
</element>
|
|
</zeroOrMore>
|
|
|
|
<zeroOrMore>
|
|
<ref name="args_define"/>
|
|
</zeroOrMore>
|
|
|
|
<optional>
|
|
<ref name="comment_define"/>
|
|
</optional>
|
|
</interleave>
|
|
</define>
|
|
|
|
<define name="args_define">
|
|
<element name="args">
|
|
<a:documentation>One or more arguments.</a:documentation>
|
|
<zeroOrMore>
|
|
<ref name="arg_define"/>
|
|
</zeroOrMore>
|
|
</element>
|
|
</define>
|
|
</grammar>
|