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 |
} |
} |