public interface IMetadataParserASDocDelegate
Implementations of this interface that record ASDoc data are stateful and can not be shared between MetadataParser instances.
| Modifier and Type | Method and Description |
|---|---|
IASDocComment |
afterDefinition(IDocumentableDefinitionNode definitionNode)
Called by the MetadataParser after an
IDocumentableDefinitionNode has been constructed
and fully parsed. |
void |
afterMetadata(int metaDataEndOffset)
Called by the MetadataParser any time a meta-data tag is
parsed.
|
void |
clearMetadataComment(String metaDataTagName)
Called by the MetadataParser after parsing a meta-data tag
that should prevent the current ASDoc comment from attaching to any
subsequent meta-data tag.
|
void |
setCurrentASDocToken(antlr.Token asDocToken)
Called by the MetadataParser whenever a
Token containing an ASDoc
comment is encountered. |
void setCurrentASDocToken(antlr.Token asDocToken)
Token containing an ASDoc
comment is encountered.asDocToken - A Token containing an ASDoc comment.IASDocComment afterDefinition(IDocumentableDefinitionNode definitionNode)
IDocumentableDefinitionNode has been constructed
and fully parsed.definitionNode - IDocumentableDefinitionNode that has been parsed.IASDocComment that should be attached to the IDocumentableDefinitionNode.void clearMetadataComment(String metaDataTagName)
metaDataTagName - The name of the meta-data tag prevents the
current ASDoc comment from attaching to any subsequent meta-data tag.void afterMetadata(int metaDataEndOffset)
metaDataEndOffset - The end offset of the meta-data tag that has
been parsed.Copyright © 2023 The Apache Software Foundation. All rights reserved.