[Laszlo-dev] For Review: Change 20070108-jgrandyw-a Summary: (Updated^2) Rewrite js2doc comment parser to avoid use of regular

Jim Grandy jgrandy at openlaszlo.org
Mon Jan 8 11:39:07 PST 2007


Change 20070108-jgrandyw-a by jgrandyw at jgrandy-pb on 2007-01-08  
11:35:39 PST
     in /Users/jgrandyw/dev/svn/openlaszlo/branches/legals

Summary: (Updated^2) Rewrite js2doc comment parser to avoid use of  
regular
expressions against unbounded-length strings. Now we scan a line at a
time and look for beginning ("/*") and ending ("*/") markers.

New Features:

Bugs Fixed:LPP-3225

Technical Reviewer: pga
QA Reviewer: pbr
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Note that the code now uses a Java 1.5 class, Scanner, since  
that
was the simplest way of doing cross-platform line scanning.

Tests:

'cd WEB-INF/lps/server ; ant js2doc.test'
'cd docs/src ; ant lfc.js2doc.generate'

Files:
M      WEB-INF/lps/server/src/org/openlaszlo/js2doc/Comment_Test.java
M      WEB-INF/lps/server/src/org/openlaszlo/js2doc/Comment.java
M      WEB-INF/lps/server/src/org/openlaszlo/js2doc/JS2Doc.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070108- 
jgrandyw-a.tar


More information about the Laszlo-dev mailing list