If you have the @ symbol in your ASDoc, the code will compile, but the generator for the ASDoc will yell out an unintelligible error message.
/**
* Removes the following characters which are forbidden:
* @/\"#$%&'()*:;<=>!?
*/
public function removeForbiddenChars(str:String):String
Is there any way to include the @ symbol in your ASDoc without an error being thrown?
According to documentation by Adobe:
Although not mentioned in the documentation,a fourth symbol that is not allowed is
&, and must be replaced by&.So, if one were to follow these instructions for the example ASDoc:
It may not be clear when looking at the comment in your editor, but it will be clear once the ASDoc has been compiled into HTML. Perhaps one could phrase the comment in such a way that the special characters aren't used: