Languages.txt 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Format: 1.35
  2. # This is the Natural Docs languages file for this project. If you change
  3. # anything here, it will apply to THIS PROJECT ONLY. If you'd like to change
  4. # something for all your projects, edit the Languages.txt in Natural Docs'
  5. # Config directory instead.
  6. # You can prevent certain file extensions from being scanned like this:
  7. # Ignore Extensions: [extension] [extension] ...
  8. #-------------------------------------------------------------------------------
  9. # SYNTAX:
  10. #
  11. # Unlike other Natural Docs configuration files, in this file all comments
  12. # MUST be alone on a line. Some languages deal with the # character, so you
  13. # cannot put comments on the same line as content.
  14. #
  15. # Also, all lists are separated with spaces, not commas, again because some
  16. # languages may need to use them.
  17. #
  18. # Language: [name]
  19. # Alter Language: [name]
  20. # Defines a new language or alters an existing one. Its name can use any
  21. # characters. If any of the properties below have an add/replace form, you
  22. # must use that when using Alter Language.
  23. #
  24. # The language Shebang Script is special. It's entry is only used for
  25. # extensions, and files with those extensions have their shebang (#!) lines
  26. # read to determine the real language of the file. Extensionless files are
  27. # always treated this way.
  28. #
  29. # The language Text File is also special. It's treated as one big comment
  30. # so you can put Natural Docs content in them without special symbols. Also,
  31. # if you don't specify a package separator, ignored prefixes, or enum value
  32. # behavior, it will copy those settings from the language that is used most
  33. # in the source tree.
  34. #
  35. # Extensions: [extension] [extension] ...
  36. # [Add/Replace] Extensions: [extension] [extension] ...
  37. # Defines the file extensions of the language's source files. You can
  38. # redefine extensions found in the main languages file. You can use * to
  39. # mean any undefined extension.
  40. #
  41. # Shebang Strings: [string] [string] ...
  42. # [Add/Replace] Shebang Strings: [string] [string] ...
  43. # Defines a list of strings that can appear in the shebang (#!) line to
  44. # designate that it's part of the language. You can redefine strings found
  45. # in the main languages file.
  46. #
  47. # Ignore Prefixes in Index: [prefix] [prefix] ...
  48. # [Add/Replace] Ignored Prefixes in Index: [prefix] [prefix] ...
  49. #
  50. # Ignore [Topic Type] Prefixes in Index: [prefix] [prefix] ...
  51. # [Add/Replace] Ignored [Topic Type] Prefixes in Index: [prefix] [prefix] ...
  52. # Specifies prefixes that should be ignored when sorting symbols in an
  53. # index. Can be specified in general or for a specific topic type.
  54. #
  55. #------------------------------------------------------------------------------
  56. # For basic language support only:
  57. #
  58. # Line Comments: [symbol] [symbol] ...
  59. # Defines a space-separated list of symbols that are used for line comments,
  60. # if any.
  61. #
  62. # Block Comments: [opening sym] [closing sym] [opening sym] [closing sym] ...
  63. # Defines a space-separated list of symbol pairs that are used for block
  64. # comments, if any.
  65. #
  66. # Package Separator: [symbol]
  67. # Defines the default package separator symbol. The default is a dot.
  68. #
  69. # [Topic Type] Prototype Enders: [symbol] [symbol] ...
  70. # When defined, Natural Docs will attempt to get a prototype from the code
  71. # immediately following the topic type. It stops when it reaches one of
  72. # these symbols. Use \n for line breaks.
  73. #
  74. # Line Extender: [symbol]
  75. # Defines the symbol that allows a prototype to span multiple lines if
  76. # normally a line break would end it.
  77. #
  78. # Enum Values: [global|under type|under parent]
  79. # Defines how enum values are referenced. The default is global.
  80. # global - Values are always global, referenced as 'value'.
  81. # under type - Values are under the enum type, referenced as
  82. # 'package.enum.value'.
  83. # under parent - Values are under the enum's parent, referenced as
  84. # 'package.value'.
  85. #
  86. # Perl Package: [perl package]
  87. # Specifies the Perl package used to fine-tune the language behavior in ways
  88. # too complex to do in this file.
  89. #
  90. #------------------------------------------------------------------------------
  91. # For full language support only:
  92. #
  93. # Full Language Support: [perl package]
  94. # Specifies the Perl package that has the parsing routines necessary for full
  95. # language support.
  96. #
  97. #-------------------------------------------------------------------------------
  98. # The following languages are defined in the main file, if you'd like to alter
  99. # them:
  100. #
  101. # Text File, Shebang Script, C/C++, C#, Java, JavaScript, Perl, Python,
  102. # PHP, SQL, Visual Basic, Pascal, Assembly, Ada, Tcl, Ruby, Makefile,
  103. # ActionScript, ColdFusion, R, Fortran
  104. # If you add a language that you think would be useful to other developers
  105. # and should be included in Natural Docs by default, please e-mail it to
  106. # languages [at] naturaldocs [dot] org.