summaryrefslogtreecommitdiff
path: root/test/scanners/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Moving scanner tests into separate repository. The repository can be reached ↵murphy2010-04-1412-68500/+0
| | | | at http://svn.rubychan.de/coderay-scanner-tests/trunk.
* Updating tests for Groovy and JavaScript scanners.murphy2010-03-262-13/+13
|
* Improved scanner tests: known issues, JRuby bug workaround (see #136).murphy2010-01-011-0/+2
|
* Added a test for XML literals in JavaScript (see issue #137).murphy2009-12-302-0/+4
|
* JavaScript scanner updated:murphy2009-10-197-933/+54861
| | | | | | | | | * false, null, true, undefined are :pre_constant now * fixed floats starting with a dot * added support for XML literals (cool!) * function definitions are detected and highlighted as :function * added Prototype, SunSpider and TraceMonkey tests as test code
* JavaScript scanner: Fixed string keys (closes #85).murphy2009-02-201-72/+72
|
* New: *Java Scanner* (closes #42).murphy2008-09-211-72/+72
| | | | | | | | | | | | | | | | | | | * Based on JavaScript, does a good job, but may need more polish. * Java::BuiltinTypes::List is a helper constant that contains 2389 Java types. ** The list was generated from TextMate's Java bundle with the help of SimpleRegexpScanner. * I added the JRuby core classes as example code for testing (1.8 MB) JavaScript Scanner: * Fixed recognition of floats and algebraic signs. ** Still needs work - we need to distinguish i-1 from i+-1. More changes: * New: "SimpleRegexpScanner":http://murfy.de/simple-regexp-scanner * Added new token class :annotation along with CSS styles. ** Should be useful for Python, too. * coderay_suite warns if no scanner was found for this language. * PluginHost#default can be called without parameter (will return default id)
* New: *JavaScript Scanner* (closes #23).murphy2008-09-163-0/+14566
* It's quite good and fast, but still a beta. * I included Prototype and script.aculo.us as example code for testing. More changes: * Added two new token classes, :keyword and :key, along with CSS styles. ** Actually, we should use :keyword for most scanners that now use :reserved. * HTML Encoder: The CSS parser understands multiple selectors separated by commas.