<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="pushattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="popattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="installattributestack" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="defineattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="local" default="yes"/>
                <cd:constant type="global"/>
                <cd:constant type="public" default="yes"/>
                <cd:constant type="private"/>
                <cd:constant type="pickup"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="definesystemattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:keywords list="yes" optional="yes">
                <cd:constant type="local" default="yes"/>
                <cd:constant type="global"/>
                <cd:constant type="public"/>
                <cd:constant type="private" default="yes"/>
                <cd:constant type="pickup"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

    <cd:command name="newattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dosetattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="doresetattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dogetattribute" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="dogetattributeid" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="resetallattributes" level="system" category="attribute" file="attr-ini.mkxl"/>

    <cd:command name="savecurrentattributes" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="restorecurrentattributes" level="system" category="attribute" file="attr-ini.mkxl">
        <cd:arguments>
            <cd:resolve name="argument-name"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="showattributes" level="document" category="attribute" file="attr-ini.mkxl"/>

</cd:interface>
