public interface IMetadataParserASDocDelegate
MetadataParser to recored information about
ASDoc comments encountered while parsing meta-data.
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)
MetadataParser whenever a Token containing an ASDoc
comment is encountered.asDocToken - A Token containing an ASDoc comment.IASDocComment afterDefinition(IDocumentableDefinitionNode definitionNode)
MetadataParser after an 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)
MetadataParser after parsing a meta-data tag
that should prevent the current ASDoc comment from attaching to any
subsequent meta-data tag.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)
MetadataParser any time a meta-data tag is
parsed.metaDataEndOffset - The end offset of the meta-data tag that has
been parsed.Copyright © 2016 The Apache Software Foundation. All rights reserved.