mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
allows for using both ColdFusion Lexers provided by pigments and allows for proper syntax highlighting of cfscript based CFCs Signed-off-by: Sean Coyne <sean@n42designs.com>
18 lines
457 B
Plaintext
18 lines
457 B
Plaintext
<cfcomponent>
|
|
|
|
<cffunction name="init" access="public" returntype="any">
|
|
<cfargument name="arg1" type="any" required="true">
|
|
<cfset this.myVariable = arguments.arg1>
|
|
|
|
<cfreturn this>
|
|
</cffunction>
|
|
|
|
<cffunction name="testFunc" access="private" returntype="void">
|
|
<cfargument name="arg1" type="any" required="false">
|
|
|
|
<cfif structKeyExists(arguments, "arg1")>
|
|
<cfset writeoutput("Argument exists")>
|
|
</cfif>
|
|
</cffunction>
|
|
|
|
</cfcomponent> |