Class TreeWizard.TreePatternTreeAdaptor

All Implemented Interfaces:
TreeAdaptor
Enclosing class:
TreeWizard

public static class TreeWizard.TreePatternTreeAdaptor extends CommonTreeAdaptor
This adaptor creates TreePattern objects for use during scan()
  • Constructor Details

    • TreePatternTreeAdaptor

      public TreePatternTreeAdaptor()
  • Method Details

    • create

      public Object create(Token payload)
      Description copied from interface: TreeAdaptor
      Create a tree node from Token object; for CommonTree type trees, then the token just becomes the payload. This is the most common create call. Override if you want another kind of node to be built.
      Specified by:
      create in interface TreeAdaptor
      Overrides:
      create in class CommonTreeAdaptor