SalesforceFoundation / ApexDoc

The latest java source for ApexDoc, a tool to document your Salesforce Apex classes.
BSD 3-Clause "New" or "Revised" License
229 stars 128 forks source link

Fix for Issue #26 #35

Closed Bobnix closed 9 years ago

Bobnix commented 9 years ago

Comment blocks that do not start with an @[token] will now be treated like a description. As a byproduct, to prevent capturing copyright blocks and that sort, the comment scanner now looks for /**. This is actually how it is documented to work so this should not be a breaking change

Bobnix commented 9 years ago

Made it so regular comments are consumed but ignored. Tested against Cumulus source. This should satisfy the requirements for the project now.

Bobnix commented 9 years ago

Fixed how I handled single line doc blocks. Makes me wonder if this couldn't be done better with something like a lexer/parser.