Class DefinitionNodeFormatter

  • All Implemented Interfaces:
    NodeFormatter

    public class DefinitionNodeFormatter
    extends java.lang.Object
    implements NodeFormatter
    • Constructor Detail

      • DefinitionNodeFormatter

        public DefinitionNodeFormatter​(DataHolder options)
    • Method Detail

      • getNodeClasses

        @Nullable
        public java.util.Set<java.lang.Class<?>> getNodeClasses()
        Description copied from interface: NodeFormatter
        Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.
        Specified by:
        getNodeClasses in interface NodeFormatter
        Returns:
        the nodes of interest to this formatter during formatting.