com.google.caja.parser
Class ParseTreeNodeTest.IntEnqueuerThatMungesSiblings

java.lang.Object
  extended by com.google.caja.parser.ParseTreeNodeTest.IntEnqueuer
      extended by com.google.caja.parser.ParseTreeNodeTest.IntEnqueuerThatMungesSiblings
All Implemented Interfaces:
Visitor
Enclosing class:
ParseTreeNodeTest

static class ParseTreeNodeTest.IntEnqueuerThatMungesSiblings
extends ParseTreeNodeTest.IntEnqueuer


Field Summary
private  long remover
           
private  long[] toAdd
           
private  java.util.Set<java.lang.Long> toRemove
           
 
Constructor Summary
ParseTreeNodeTest.IntEnqueuerThatMungesSiblings(long remover, long[] toRemove, long[] toAdd)
           
 
Method Summary
 boolean visit(AncestorChain<?> ancestors)
          Called on each node reached by the traversal to process that node.
 
Methods inherited from class com.google.caja.parser.ParseTreeNodeTest.IntEnqueuer
getNums, processNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toRemove

private java.util.Set<java.lang.Long> toRemove

toAdd

private long[] toAdd

remover

private long remover
Constructor Detail

ParseTreeNodeTest.IntEnqueuerThatMungesSiblings

ParseTreeNodeTest.IntEnqueuerThatMungesSiblings(long remover,
                                                long[] toRemove,
                                                long[] toAdd)
Method Detail

visit

public boolean visit(AncestorChain<?> ancestors)
Description copied from interface: Visitor
Called on each node reached by the traversal to process that node.

Specified by:
visit in interface Visitor
Overrides:
visit in class ParseTreeNodeTest.IntEnqueuer
Parameters:
ancestors - wraps the node to process, and its ancestors. This is non null, and the node to process is chain.node.
Returns:
whether to continue the traversal. Returning false will end the traversal early.


Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0