summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/java_script.rb
Commit message (Collapse)AuthorAgeFilesLines
* this seems obsoleteKornelius Kalnbach2015-03-211-1/+0
|
* reset string_delimiter when detecting open stringKornelius Kalnbach2013-06-101-0/+1
|
* Merge branch 'master' into javascript-keep-stateKornelius Kalnbach2013-06-101-2/+2
|\
| * minor tweaks to generator and scanner edge casesKornelius Kalnbach2013-03-111-2/+2
| |
* | support multi-line comments in JavaScript diffKornelius Kalnbach2013-03-101-4/+27
|/
* pretty (longer) token class names; closes #347Kornelius Kalnbach2011-08-191-1/+1
|
* Major rewrite of encoders to support IO output; fixed some minor scanner ↵Kornelius Kalnbach2011-08-191-1/+1
| | | | bugs; cleanups; dropped NitroXHTML scanner; improved tests
* renamed pre_* token kinds to predefined_*murphy2011-04-171-1/+1
|
* Ported fix for #264.murphy2011-03-011-2/+2
|
* Improved JavScript regexp recognition.murphy2010-06-161-1/+1
|
* Got rid of the old streaming system (see #142).murphy2010-05-011-2/+0
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-011-82/+68
|
* Improvements and cleanups in JavaScript Scanner:murphy2010-03-261-17/+22
| | | | | - Added NaN and Infinity to list of predefined constants. - E4X: Don't keep state of XML scanner between calls.
* Using XML scanner for XML literals.murphy2009-12-301-4/+5
|
* Copying changes and fixes for 0.9.0rc3 from terminal-encoder branch over to ↵murphy2009-12-281-1/+2
| | | | trunk.
* JavaScript scanner updated:murphy2009-10-191-5/+32
| | | | | | | | | * 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-11/+10
|
* Ruby scanner: Fixed rarely used \c, \C-, and \M- escape sequences.murphy2009-02-051-0/+1
| | | | | | | * JavaScript scanner: elaborate a comment * SimpleRegexpScanner: Just some testing with the Ruby stack. * coderay-lib.tmproj: I should just remove it from the repo...
* Fixed JavaScript scanner, highlighting of strings as keys.murphy2009-01-221-4/+12
|
* New: *Java Scanner* (closes #42).murphy2008-09-211-16/+12
| | | | | | | | | | | | | | | | | | | * 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-161-0/+191
* 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.