<?xml version="1.0"?>
<grammar xmlns="http://www.thaiopensource.com/trex">

<include href="xmlspec.trex"/>

<define name="local.illus.class.label" combine="replace">
  <element name="proto">
    <attribute name="name"/>
    <attribute name="return-type"/>
    <zeroOrMore>
      <element name="arg">
        <attribute name="type"/>
        <optional>
          <attribute name="occur"/>
        </optional>
      </element>
    </zeroOrMore>
  </element>
</define>

<define name="local.tech.class.label" combine="replace">
  <element name="function">
    <anyString/>
  </element>
</define>

</grammar>
