diff options
author | Tyson <Tyson@Ultrabook2> | 2014-02-07 23:31:59 -0600 |
---|---|---|
committer | Tyson <Tyson@Ultrabook2> | 2014-02-07 23:31:59 -0600 |
commit | 40ab574dad67091df4517ecac445ce466cf07395 (patch) | |
tree | 7a5b7caace93db94b5fb57dca6d5df72e59ebb87 /tests/examplefiles/exampleScript.cfc | |
parent | 76830a64b219cc2fd76b7ae7de12b717375a6793 (diff) | |
download | pygments-40ab574dad67091df4517ecac445ce466cf07395.tar.gz |
Added separate lexer to handle CFC. It can handle both tag and script based CFCs.
Diffstat (limited to 'tests/examplefiles/exampleScript.cfc')
-rw-r--r-- | tests/examplefiles/exampleScript.cfc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/examplefiles/exampleScript.cfc b/tests/examplefiles/exampleScript.cfc new file mode 100644 index 00000000..1e8b2410 --- /dev/null +++ b/tests/examplefiles/exampleScript.cfc @@ -0,0 +1,15 @@ +component {
+
+ public any function init(arg1){
+ var this.myVar = arg1;
+
+ return this;
+ }
+
+ private void function testFunc(arg1){
+ if(structKeyExists(arguments, "arg1")){
+ writeoutput("Argument exists");
+ }
+ }
+
+}
\ No newline at end of file |