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

Interfaces not fully supported #5

Closed davidhabib closed 9 years ago

davidhabib commented 9 years ago

Apex code that is an interface, not a class, is currently ignored.

davidhabib commented 9 years ago

ApexDoc now recognizes the Interface class and treats it as such. but it doesn't parse the methods because they don't start with a scope, and Apex doesn't allow interface methods to specify a scope. to handle this, ApexDoc would need to be a smarter parser to recognize method signatures without looking for scope. not sure if we can easily do that.

kbromer commented 9 years ago

Hmm... that's a tough one, the interface methods are pretty important.

Do we get a seperate context when the parser drops into an interface? (in other words, does the parser 'know' its looking through an interface?)