Following the documentation and tutorial around creating a language plugin for Jetbrains IDE's, it's unclear how one might utilize the existing JavaDoc parser as a sub-parser while parsing a custom grammar. I've defined the grammar elements to parse a JavaDoc-style comment block into a token, and I've tried mixing in or extending the element for it with a custom ASTWrapperPsiElement class where I can invoke the JavaDoc parser. However, the getChildren function on that class is never called, and I'm not sure how else to wire that parser in based on the generated output of the lexer and parser.
Is this possible, and are there docs that cover this?
Following the documentation and tutorial around creating a language plugin for Jetbrains IDE's, it's unclear how one might utilize the existing JavaDoc parser as a sub-parser while parsing a custom grammar. I've defined the grammar elements to parse a JavaDoc-style comment block into a token, and I've tried mixing in or extending the element for it with a custom ASTWrapperPsiElement class where I can invoke the JavaDoc parser. However, the getChildren function on that class is never called, and I'm not sure how else to wire that parser in based on the generated output of the lexer and parser.
Is this possible, and are there docs that cover this?