Class IPDOMASTProcessor.Abstract

  • All Implemented Interfaces:
    IPDOMASTProcessor
    Enclosing interface:
    IPDOMASTProcessor

    public abstract static class IPDOMASTProcessor.Abstract
    extends Object
    implements IPDOMASTProcessor
    An abstract class that should be extended by contributors of the extension-point. Extending this class means that contributors will get default implementations for future additions.
    • Constructor Detail

      • Abstract

        public Abstract()
    • Method Detail

      • process

        public int process​(IASTTranslationUnit ast,
                           IIndexSymbols symbols)
                    throws org.eclipse.core.runtime.CoreException
        Description copied from interface: IPDOMASTProcessor
        Processes the input AST by adding significant symbols to the given output map. Returns the linkage id that should be used to store the result, or ILinkage.NO_LINKAGE_ID if the AST contained nothing of significance to this processor.
        Specified by:
        process in interface IPDOMASTProcessor
        Parameters:
        ast - The input AST to be processed.
        symbols - The output map of significant symbols.
        Returns:
        The linkage-id in which to store the symbols or ILinkage.NO_LINKAGE_ID if the AST contained nothing of significance.
        Throws:
        org.eclipse.core.runtime.CoreException