diff options
| author | murphy <murphy@rubychan.de> | 2009-10-20 11:12:26 +0000 |
|---|---|---|
| committer | murphy <murphy@rubychan.de> | 2009-10-20 11:12:26 +0000 |
| commit | 9f6e54e92820754d4f05e7d6ef556c11c5351411 (patch) | |
| tree | 3a612819bb121418f05fae076e7640228c36824f /test/scanners/php/test.expected.raydebug | |
| parent | a8163c39206fd11ef30ef8efb2c73a6f6a97e424 (diff) | |
| download | coderay-9f6e54e92820754d4f05e7d6ef556c11c5351411.tar.gz | |
Updated PHP scanner (#36)
* highlighting of class and function definitions
* improved HTML/PHP detection
* heredocs (simple)
* a new test for classes
Diffstat (limited to 'test/scanners/php/test.expected.raydebug')
| -rw-r--r-- | test/scanners/php/test.expected.raydebug | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/scanners/php/test.expected.raydebug b/test/scanners/php/test.expected.raydebug index b6bdc9b..184d171 100644 --- a/test/scanners/php/test.expected.raydebug +++ b/test/scanners/php/test.expected.raydebug @@ -25,7 +25,7 @@ comment(/** * @package fnord.bb * @subpackage archive */) -reserved(class) constant(Zip) reserved(extends) constant(Archive) operator({) +reserved(class) class(Zip) reserved(extends) constant(Archive) operator({) comment(/** * Outputs the zip file * @@ -40,7 +40,7 @@ reserved(class) constant(Zip) reserved(extends) constant(Archive) operator({) * * @return bool|string Returns either true if the fil is sucessfully created or the content of the zip file */) - reserved(function) ident(out)operator(()local_variable($filename) operator(=) pre_constant(false)operator(\)) operator({) + reserved(function) function(out)operator(()local_variable($filename) operator(=) pre_constant(false)operator(\)) operator({) comment(// Empty output) local_variable($file_data) operator(=) predefined(array)operator(()operator(\))operator(;) comment(// Data of the file part) local_variable($cd_data) operator(=) predefined(array)operator(()operator(\))operator(;) comment(// Data of the central directory) @@ -276,7 +276,7 @@ reserved(class) constant(Zip) reserved(extends) constant(Archive) operator({) * * @return bool Returns true if the file was loaded sucessfully */) - reserved(function) predefined(load_file)operator(()local_variable($file)operator(,) local_variable($reset) operator(=) pre_constant(true)operator(\)) operator({) + reserved(function) function(load_file)operator(()local_variable($file)operator(,) local_variable($reset) operator(=) pre_constant(true)operator(\)) operator({) comment(// Check whether the file exists) reserved(if)operator(()operator(!)predefined(file_exists)operator(()local_variable($file)operator(\))operator(\)) reserved(return) pre_constant(false)operator(;) @@ -304,7 +304,7 @@ reserved(class) constant(Zip) reserved(extends) constant(Archive) operator({) * * @return bool Returns true if the string was loaded sucessfully */) - reserved(function) ident(load_string)operator(()local_variable($string)operator(,) local_variable($reset) operator(=) pre_constant(true)operator(\)) operator({) + reserved(function) function(load_string)operator(()local_variable($string)operator(,) local_variable($reset) operator(=) pre_constant(true)operator(\)) operator({) comment(// Reset the zip?) reserved(if)operator(()local_variable($reset)operator(\)) operator({) local_variable($this)operator(->)ident(dirs) operator(=) predefined(array)operator(()operator(\))operator(;) @@ -491,7 +491,7 @@ reserved(class) constant(Zip) reserved(extends) constant(Archive) operator({) operator(}) operator(}) -reserved(function) operator(&)ident(byref)operator(()operator(\)) operator({) +reserved(function) operator(&)function(byref)operator(()operator(\)) operator({) local_variable($x) operator(=) predefined(array)operator(()operator(\))operator(;) reserved(return) local_variable($x)operator(;) operator(}) |
