/[gzz]/gzz/lava/gzz/potion/FunctionCall.java
ViewVC logotype

Diff of /gzz/lava/gzz/potion/FunctionCall.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Thu Nov 21 23:51:35 2002 UTC revision 1.2 by benja, Tue Dec 3 01:01:58 2002 UTC
# Line 1  Line 1 
1  /*  //(c):OSK Group
 FunctionCall.java  
  *  
  *    Copyright (c) 2002, OSK Group  
  *  
  *    You may use and distribute under the terms of either the GNU  
 Lesser  
  *    General Public License, either version 2 of the license or,  
  *    at your choice, any later version. Alternatively, you may use and  
  *    distribute under the terms of the XPL.  
  *  
  *    See the LICENSE.lgpl and LICENSE.xpl files for the specific terms  
 of  
  *    the licenses.  
  *  
  *    This software is distributed in the hope that it will be useful,  
  *    but WITHOUT ANY WARRANTY; without even the implied warranty of  
  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  
 README  
  *    file for more details.  
  *  
  */  
 /*  
  * Written by OSK Group  
  */  
2  package gzz.potion;  package gzz.potion;
3  import java.util.*;  import java.util.*;
4  import gzz.vob.linebreaking.HChain;  import gzz.vob.linebreaking.HChain;
5    
6  public class FunctionCall extends Call implements FunctionExpression{  public class FunctionCall extends Call implements FunctionExpression {
7    
8          Function function;      Function function;
9    
10          public FunctionCall(Function function, FunctionExpression params){      public FunctionCall(Function function, FunctionExpression[] params) {
11                  super(null, null);          super(function, params);
12                  this.function = function;          this.function = function;
13                  }      }
14          public List evaluate(Map contetxt){      public List evaluate(Map context) {
15                  return null;          return function.evaluate(evaluateParams(context), context);
16          }      }
         public String getString(Map context){  
                 return null;  
         }  
         public void render(Map context, HChain into){}  
17  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26