Class Semanticize.ProductionDefinedChecker

  • All Implemented Interfaces:
    TreeWalkerOp
    Enclosing class:
    Semanticize

    private static class Semanticize.ProductionDefinedChecker
    extends java.lang.Object
    implements TreeWalkerOp
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Context context  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void action​(Expansion e)
      When a node is visited, this method is invoked with the node as parameter.
      boolean goDeeper​(Expansion e)
      When called at a particular node, this specifies to the tree walker if it should visit more nodes under this node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • context

        private final Context context
    • Method Detail

      • goDeeper

        public boolean goDeeper​(Expansion e)
        Description copied from interface: TreeWalkerOp
        When called at a particular node, this specifies to the tree walker if it should visit more nodes under this node.
        Specified by:
        goDeeper in interface TreeWalkerOp
      • action

        public void action​(Expansion e)
        Description copied from interface: TreeWalkerOp
        When a node is visited, this method is invoked with the node as parameter.
        Specified by:
        action in interface TreeWalkerOp