Coverage Report - org.webslinger.ext.wiki.parser.WikiControlSwitch
 
Classes in this File Line Coverage Branch Coverage Complexity
WikiControlSwitch
0%
0/9
N/A
1
 
 1  
 package org.webslinger.ext.wiki.parser;
 2  
 
 3  
 public class WikiControlSwitch extends SimpleNode implements ControlNode {
 4  
     protected Node expression;
 5  
 
 6  
     public WikiControlSwitch(int id) {
 7  0
         super(id);
 8  0
     }
 9  
 
 10  
     public WikiControlSwitch(Wiki p, int id) {
 11  0
         super(p, id);
 12  0
     }
 13  
 
 14  
     public Object jjtAccept(WikiVisitor visitor, Object data) {
 15  0
         return visitor.visit(this, data);
 16  
     }
 17  
 
 18  
     public void moveChildren() {
 19  0
         expression = (Node) children.remove(0);
 20  0
     }
 21  
 
 22  
     public Node getExpression() {
 23  0
         return expression;
 24  
     }
 25  
 
 26  
     public String toString() {
 27  0
         return super.toString() + '(' + getExpression() + ')';
 28  
     }
 29  
 }