Blame | Last modification | View Log | Download
Format: 1.52# This is the main Natural Docs languages file. If you change anything here,# it will apply to EVERY PROJECT you use Natural Docs on. If you'd like to# change something for just one project, edit the Languages.txt in its project# directory instead.#-------------------------------------------------------------------------------# SYNTAX:## Unlike other Natural Docs configuration files, in this file all comments# MUST be alone on a line. Some languages deal with the # character, so you# cannot put comments on the same line as content.## Also, all lists are separated with spaces, not commas, again because some# languages may need to use them.## Language: [name]# Defines a new language. Its name can use any characters.## The language Shebang Script is special. It's entry is only used for# extensions, and files with those extensions have their shebang (#!) lines# read to determine the real language of the file. Extensionless files are# always treated this way.## The language Text File is also special. It's treated as one big comment# so you can put Natural Docs content in them without special symbols. Also,# if you don't specify a package separator, ignored prefixes, or enum value# behavior, it will copy those settings from the language that is used most# in the source tree.## Extensions: [extension] [extension] ...# Defines the file extensions of the language's source files. You can use *# to mean any undefined extension.## Shebang Strings: [string] [string] ...# Defines a list of strings that can appear in the shebang (#!) line to# designate that it's part of the language.## Ignore Prefixes in Index: [prefix] [prefix] ...# Ignore [Topic Type] Prefixes in Index: [prefix] [prefix] ...# Specifies prefixes that should be ignored when sorting symbols in an# index. Can be specified in general or for a specific topic type.##------------------------------------------------------------------------------# For basic language support only:## Line Comments: [symbol] [symbol] ...# Defines a space-separated list of symbols that are used for line comments,# if any.## Block Comments: [opening sym] [closing sym] [opening sym] [closing sym] ...# Defines a space-separated list of symbol pairs that are used for block# comments, if any.## Package Separator: [symbol]# Defines the default package separator symbol. The default is a dot.## [Topic Type] Prototype Enders: [symbol] [symbol] ...# When defined, Natural Docs will attempt to get a prototype from the code# immediately following the topic type. It stops when it reaches one of# these symbols. Use \n for line breaks.## Line Extender: [symbol]# Defines the symbol that allows a prototype to span multiple lines if# normally a line break would end it.## Enum Values: [global|under type|under parent]# Defines how enum values are referenced. The default is global.# global - Values are always global, referenced as 'value'.# under type - Values are under the enum type, referenced as# 'package.enum.value'.# under parent - Values are under the enum's parent, referenced as# 'package.value'.## Perl Package: [perl package]# Specifies the Perl package used to fine-tune the language behavior in ways# too complex to do in this file.##------------------------------------------------------------------------------# For full language support only:## Full Language Support: [perl package]# Specifies the Perl package that has the parsing routines necessary for full# language support.##-------------------------------------------------------------------------------# The following languages MUST be defined in this file:## Text File, Shebang Script# If you add a language that you think would be useful to other developers# and should be included in Natural Docs by default, please e-mail it to# languages [at] naturaldocs [dot] org.Language: Text FileExtension: txtLanguage: Shebang ScriptExtension: cgiLanguage: C/C++Extensions: c cpp h hpp cxx hxxIgnore Function Prefix in Index: ~Line Comment: //Block Comment: /* */Package Separator: ::Enum Values: Under parentClass Prototype Enders: ; {Function Prototype Enders: ; {Variable Prototype Enders: ; =Language: C#Extension: csIgnore Prefix in Index: @Full Language Support: NaturalDocs::Languages::CSharpLanguage: JavaExtension: javaLine Comment: //Block Comment: /* */Enum Values: Under typeFunction Prototype Ender: {Variable Prototype Enders: ; =Language: JavaScriptExtension: jsLine Comment: //Block Comment: /* */Enum Values: Under typeFunction Prototype Ender: {Variable Prototype Enders: ; = , }Language: PerlExtensions: pl pmShebang String: perlIgnore Variable Prefixes in Index: $ @ % *Full Language Support: NaturalDocs::Languages::PerlLanguage: PythonExtension: pyShebang String: pythonLine Comment: #Function Prototype Ender: :Variable Prototype Ender: =Line Extender: \Language: PHPExtensions: inc php php3 php4 phtmlShebang String: phpIgnore Variable Prefix in Index: $Line Comments: // #Block Comment: /* */Function Prototype Enders: ; {Variable Prototype Enders: ; =Language: SQLExtension: sqlLine Comment: --Block Comment: /* */Enum Values: GlobalFunction Prototype Enders: , ; ) as As AS is Is ISVariable Prototype Enders: , ; ) := default Default DEFAULTDatabase Index Prototype Enders: , ; )Database Trigger Prototype Enders: begin Begin BEGIN as As ASPerl Package: NaturalDocs::Languages::PLSQLLanguage: Visual BasicExtensions: vb vbs bas cls frmLine Comment: 'Enum Values: Under typeFunction Prototype Ender: \nVariable Prototype Enders: \n =Line Extender: _Language: PascalExtension: pasLine Comment: //Block Comments: { } (* *)Function Prototype Ender: ;Variable Prototype Enders: ; =Perl Package: NaturalDocs::Languages::PascalLanguage: AssemblyExtension: asmLine Comment: ;Variable Prototype Ender: \nLine Extender: \Language: AdaExtensions: ada ads adbLine Comment: --Function Prototype Enders: ; is Is ISVariable Prototype Enders: ; :=Perl Package: NaturalDocs::Languages::AdaLanguage: TclExtensions: tcl expShebang Strings: tclsh wish expectLine Comment: #Package Separator: ::Function Prototype Enders: ; {Variable Prototype Enders: ; \nLine Extender: \Perl Package: NaturalDocs::Languages::TclLanguage: RubyExtension: rbShebang String: rubyIgnore Variable Prefixes in Index: $ @ @@Line Comment: #Enum Values: Under parentFunction Prototype Enders: ; \nVariable Prototype Enders: ; \n =Line Extender: \Language: MakefileExtensions: mk mak makeLine Comment: #Language: ActionScriptExtensions: as mxmlFull Language Support: NaturalDocs::Languages::ActionScriptLanguage: ColdFusionExtensions: cfm cfml cfcLine Comment: //Block Comments: <!--- ---> /* */Function Prototype Enders: { <Language: RExtension: rLine Comment: #Function Prototype Enders: { ;Variable Prototype Enders: <- = ; \nLanguage: FortranExtensions: f90 f95 f03Line Comment: !Function Prototype Ender: \nVariable Prototype Enders: \n = =>Line Extender: &Language: CiCodeExtension: ciLine Comment: //Block Comment: /* */Function Prototype Enders: ) \nVariable Prototype Enders: ; =Language: IMLExtension: prgLine Comment: #Function Prototype Enders: ) \nVariable Prototype Enders: = \nLanguage: AutoHotKeyExtension: au3Line Comment: ;Block Comment: /* */Function Prototype Enders: \n {Variable Prototype Ender: ,