Forum Discussion
Philip_Baird
12 years agoCommunity Hero
Hi Hi Murugan S, sorry about, I totally forgot VBScripts comment style.
I do have a (kind of hacky) way to get it to work.
The following is valid in VBScript
'/**
'* Represents operations against an SQL Database
'* @class DBaseOperations
'* @constructor
'* @author Phillip Baird
'* @date 22/05/2013
'* @namespace com.arcinnovations.framework.database
'*/
True, the YUIDoc parser will not recognise this.
However, it would should be possible to write a script that does the following:
1. Copy source files to a temporary location
2. For each file:
a. Read the file into memory
b. Replace all occurances of "'/" with a "/"
c. Replace all occurances of "'*" with a "*"
d. Save the altered contents back to file
3. Build the documentation using YUIDoc
As the YUIDoc parser only reads comment blocks and ignores source code, the fact that it is invalid VBScript should not matter.
Regard,
Phil Baird