Coverage Report - org.webmacro.engine.FunctionCall
 
Classes in this File Line Coverage Branch Coverage Complexity
FunctionCall
100%
4/4
N/A
1
 
 1  
 /*
 2  
  * Copyright (C) 1998-2002 Semiotek Inc.  All Rights Reserved.  
 3  
  * 
 4  
  * Redistribution and use in source and binary forms, with or without
 5  
  * modification, are permitted under the terms of either of the following
 6  
  * Open Source licenses:
 7  
  *
 8  
  * The GNU General Public License, version 2, or any later version, as
 9  
  * published by the Free Software Foundation
 10  
  * (http://www.fsf.org/copyleft/gpl.html);
 11  
  *
 12  
  *  or 
 13  
  *
 14  
  * The Semiotek Public License (http://webmacro.org/LICENSE.)  
 15  
  *
 16  
  * This software is provided "as is", with NO WARRANTY, not even the 
 17  
  * implied warranties of fitness to purpose, or merchantability. You
 18  
  * assume all risks and liabilities associated with its use.
 19  
  *
 20  
  * See www.webmacro.org for more information on the WebMacro project.  
 21  
  */
 22  
 
 23  
 
 24  
 package org.webmacro.engine;
 25  
 
 26  
 import org.webmacro.Macro;
 27  
 import org.webmacro.util.PropertyMethod;
 28  
 
 29  
 /**
 30  
  * Holder for standalone function calls $a($foo)
 31  
  * 
 32  
  * @author Brian Goetz
 33  
  * @since 1.1
 34  
  */
 35  
 
 36  
 final public class FunctionCall extends PropertyMethod
 37  
 {
 38  
     /**
 39  
      * Create a new FunctionCall
 40  
      * @param name the name of the method to call
 41  
      * @param args the arguments, including Macro objects
 42  
      */
 43  
     public FunctionCall (String name, Object[] args)
 44  
     {
 45  11
         super(name, args);
 46  11
     }
 47  
 
 48  
     /**
 49  
      * Create a new FunctionCall
 50  
      * @param name the name of the method to call
 51  
      * @param args the arguments, including Macro objects
 52  
      */
 53  
     public FunctionCall (String name, Macro args)
 54  
     {
 55  42
         super(name, args);
 56  42
     }
 57  
 }