File: rcs.pcx

package info (click to toggle)
tcllib 1.21%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 69,456 kB
  • sloc: tcl: 266,493; ansic: 14,259; sh: 2,936; xml: 1,766; yacc: 1,145; pascal: 881; makefile: 112; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (65 lines) | stat: -rw-r--r-- 1,663 bytes parent folder | download | duplicates (9)
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
# -*- tcl -*- rcs.pcx
# Syntax of the commands provided by package rcs.

# 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 rcs
pcx::tcldep   0.1 needs tcl 8.4

namespace eval ::rcs {}

#pcx::message FOO {... text ...} type
#pcx::scan <VERSION> <NAME> <RULE>

pcx::check 0.1 std ::rcs::applyRcsPatch \
    {checkSimpleArgs 2 2 {
	checkWord
	{checkListValues 1 -1 {
	    {checkListValues 3 3 {
		{checkOption 1 {
		    {a {checkSimpleArgs 2 2 {checkInt checkWord}}}
		    {d {checkSimpleArgs 2 2 {checkInt checkInt}}}
		} {}}
	    }}
	}}
    }}
pcx::check 0.1 std ::rcs::decodeRcsPatch \
    {checkSimpleArgs 1 1 {
	checkWord
    }}
pcx::check 0.1 std ::rcs::dict2file \
    {checkSimpleArgs 1 1 {
	{checkDictValues checkNatNum checkWord}
    }}
pcx::check 0.1 std ::rcs::dict2text \
    {checkSimpleArgs 1 1 {
	{checkDictValues checkNatNum checkWord}
    }}
pcx::check 0.1 std ::rcs::encodeRcsPatch \
    {checkSimpleArgs 1 1 {
       	{checkListValues 1 -1 {
	    {checkListValues 3 3 {
		{checkOption 1 {
		    {a {checkSimpleArgs 2 2 {checkInt checkWord}}}
		    {d {checkSimpleArgs 2 2 {checkInt checkInt}}}
		} {}}
	    }}
	}}
    }}
pcx::check 0.1 std ::rcs::file2dict \
    {checkSimpleArgs 1 1 {
	checkFileName
    }}
pcx::check 0.1 std ::rcs::text2dict \
    {checkSimpleArgs 1 1 {
	checkWord
    }}

# Initialization via pcx::init.
# Use a ::rcs::init procedure for non-standard initialization.
pcx::complete