summaryrefslogtreecommitdiff
path: root/support/highlight/langDefs/cfc.lang
blob: fb5cc13d5cc192a441963509836af04fdda7000d (plain)
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
# Coldfusion MX language definition file
#
# Author: Paul Connell
#   Mail: paulc@fusionworkshop.com
#   Date: 04.06.2004
#         28.01.2008 Replaced KW_DELIM entry by regexes (ASim)
# ------------------------------------------
# This file is a part of highlight, a free source code converter released under the GPL.
#
# The file is used to describe keywords and special symbols of programming languages.
# See README in the highlight directory for details.
#
# New definition files for future releases of highlight are always appreciated ;)
#
# ----------
# paulc@fusionworkshop.com
# http:/www.fusionworkshop.com/

$DESCRIPTION=ColdFusion MX

$KEYWORDS(kwa)=3Dcfabort cfapplet cfapplication cfargument cfassociate cfbreak cfcache
cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection  cfcomponent
cfcontent cfcookie cfdefaultcase cfdirectory cfdump cfelse cfelseif cferror cfexecute
cfexit cffile cfflush cfform cfftp cffunction cfgrid cfgridcolumn cfgridrow
cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam= cfif cfimport cfinclude cfindex
cfinput cfinsert cfinvoke cfinvokeargument cfldap cflocation cflock cflog cflogin
cfloginuser cflogout cfloop cfmail  cfmailparam cfmailpart cfmodule cfobject
cfobjectcache cfoutput cfparam cfpop cfprocessingdirective cfprocparam cfprocresult
cfproperty cfquery cfqueryparam cfregistry cfreport cfrethrow cfreturn cfsavecontent
cfschedule cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfstoredproc
cfswitch cftable cftextinput cfthrow cftrace cftransaction cftree cftreeitem cftry
cfupdate cfwddx cfxml

$STRINGDELIMITERS=" '

# set true if programming language is case sensitive
# Keyword and types have to be lower case if true
$IGNORECASE=true

# set true if multiple line comments may be nested
$ALLOWNESTEDCOMMENTS=true

# comment begin and end (delimiters of multi-line comments)
$ML_COMMENT=<!--- --->

# List of strings which start one line comments
$SL_COMMENT=//

#$TAG_DELIM(kwa)=< >

$KEYWORDS(kwa)=regex(<!?\/?\w+>?|/?>)
$KEYWORDS(kwb)=regex(([-\w]+)=")
$KEYWORDS(kwc)=regex(\&\#?\w+;)

# Prefix which defines variables
$KEYWORDS(kwd)=regex(\#\w+)

$SYMBOLS= ( ) [ ] { } , ; : & | !  = / *  %  + - .