55 lines
1.0 KiB
XML
55 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<package xmlns="http://www.lovullo.com/rater"
|
|
xmlns:c="http://www.lovullo.com/calc"
|
|
xmlns:t="http://www.lovullo.com/rater/apply-template">
|
|
|
|
This is the source package to be read by `tamec`.
|
|
The output `out.xmli` is asserted against `expected.xml`.
|
|
|
|
<rate yields="rateFoo" />
|
|
|
|
<rate yields="rateBar">
|
|
<c:sum />
|
|
<c:product />
|
|
</rate>
|
|
|
|
<rate yields="rateBaz">
|
|
<c:sum>
|
|
<c:product />
|
|
<c:sum />
|
|
</c:sum>
|
|
<c:product>
|
|
<c:sum />
|
|
<c:product />
|
|
<c:sum />
|
|
</c:product>
|
|
</rate>
|
|
|
|
<classify as="always" />
|
|
|
|
<classify as="sometimes">
|
|
<any>
|
|
<all />
|
|
<any />
|
|
<all />
|
|
</any>
|
|
<any />
|
|
</classify>
|
|
|
|
<template name="_empty_" />
|
|
|
|
<rate yields="postTpl" />
|
|
|
|
<template name="_with-static-reachable_">
|
|
All expressions here are reachable
|
|
(having been derived from named statements).
|
|
|
|
<rate yields="tplStaticA">
|
|
<c:sum />
|
|
</rate>
|
|
<classify as="tpl-static-b">
|
|
<any />
|
|
</classify>
|
|
</template>
|
|
</package>
|