inifile.pcx 1.9 KB

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