com.google.clearsilver.jsilver.syntax.node
Class AOptimizedMultipleCommand

java.lang.Object
  extended by com.google.clearsilver.jsilver.syntax.node.Node
      extended by com.google.clearsilver.jsilver.syntax.node.PCommand
          extended by com.google.clearsilver.jsilver.syntax.node.AOptimizedMultipleCommand
All Implemented Interfaces:
Switchable, Cloneable

public class AOptimizedMultipleCommand
extends PCommand

Replacement for SableCC generated AMultipleCommand. Iterates much faster. Important because this iteration is called a lot. NOTE: Because the SableCC generated code contains methods of package visibility that need to be overriden, this class needs to reside in the same package.

See Also:
SyntaxTreeOptimizer

Constructor Summary
AOptimizedMultipleCommand(AMultipleCommand originalNode)
           
 
Method Summary
 void apply(Switch sw)
           
 Object clone()
           
 
Methods inherited from class com.google.clearsilver.jsilver.syntax.node.Node
cloneList, cloneNode, parent, replaceBy, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AOptimizedMultipleCommand

public AOptimizedMultipleCommand(AMultipleCommand originalNode)
Method Detail

clone

public Object clone()
Specified by:
clone in class Node

apply

public void apply(Switch sw)


Copyright © 2010-2012 Google. All Rights Reserved.