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

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.AIfCommand
All Implemented Interfaces:
Switchable, Cloneable

public final class AIfCommand
extends PCommand


Constructor Summary
AIfCommand()
           
AIfCommand(PPosition _position_, PExpression _expression_, PCommand _block_, PCommand _otherwise_)
           
 
Method Summary
 void apply(Switch sw)
           
 Object clone()
           
 PCommand getBlock()
           
 PExpression getExpression()
           
 PCommand getOtherwise()
           
 PPosition getPosition()
           
 void setBlock(PCommand node)
           
 void setExpression(PExpression node)
           
 void setOtherwise(PCommand node)
           
 void setPosition(PPosition node)
           
 String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

AIfCommand

public AIfCommand()

AIfCommand

public AIfCommand(PPosition _position_,
                  PExpression _expression_,
                  PCommand _block_,
                  PCommand _otherwise_)
Method Detail

clone

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

apply

public void apply(Switch sw)

getPosition

public PPosition getPosition()

setPosition

public void setPosition(PPosition node)

getExpression

public PExpression getExpression()

setExpression

public void setExpression(PExpression node)

getBlock

public PCommand getBlock()

setBlock

public void setBlock(PCommand node)

getOtherwise

public PCommand getOtherwise()

setOtherwise

public void setOtherwise(PCommand node)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2012 Google. All Rights Reserved.