1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
# -*- tcl -*- inifile.pcx
# Syntax of the commands provided by package inifile.
# For use by TclDevKit's static syntax checker.
# See http://www.activestate.com/solutions/tcl/
# See http://aspn.activestate.com/ASPN/docs/Tcl_Dev_Kit/4.0/Checker.html#pcx_api
# for the documentation describing the format of the code contained in this file
#
package require pcx
pcx::register inifile
pcx::tcldep 0.2.1 needs tcl 8.2
namespace eval ::inifile {}
#pcx::message FOO {... text ...} type
#pcx::scan <VERSION> <NAME> <RULE>
pcx::check 0.2.1 std ::ini::close \
{checkSimpleArgs 1 1 {
checkChannelID
}}
pcx::check 0.2.1 std ::ini::comment \
{checkSimpleArgs 4 4 {
checkChannelID
checkWord
checkWord
checkWord
}}
pcx::check 0.2.1 std ::ini::commit \
{checkSimpleArgs 1 1 {
checkChannelID
}}
pcx::check 0.2.1 std ::ini::delete \
{checkSimpleArgs 2 3 {
checkChannelID
checkWord
checkWord
}}
pcx::check 0.2.1 std ::ini::exists \
{checkSimpleArgs 1 1 {
checkChannelID
}}
pcx::check 0.2.1 std ::ini::filename \
{checkSimpleArgs 1 1 {
checkChannelID
}}
pcx::check 0.2.1 std ::ini::get \
{checkSimpleArgs 1 2 {
checkWord
checkWord
}}
pcx::check 0.2.1 std ::ini::keys \
{checkSimpleArgs 2 2 {
checkChannelID
checkWord
}}
# TODO: file open access mode
pcx::check 0.2.1 std ::ini::open \
{checkSimpleArgs 1 2 {
checkWord
checkWord
}}
pcx::check 0.2.1 std ::ini::revert \
{checkSimpleArgs 1 1 {
checkChannelID
}}
pcx::check 0.2.1 std ::ini::sections \
{checkSimpleArgs 1 1 {
checkChannelID
}}
pcx::check 0.2.1 std ::ini::set \
{checkSimpleArgs 4 4 {
checkChannelID
checkWord
checkWord
checkWord
}}
pcx::check 0.2.1 std ::ini::value \
{checkSimpleArgs 3 4 {
checkChannelID
checkWord
checkWord
checkWord
}}
# Initialization via pcx::init.
# Use a ::inifile::init procedure for non-standard initialization.
pcx::complete
|