version 1.29, 2000/01/21 07:33:18 |
version 1.31, 2000/03/14 04:44:17 |
|
|
/** |
/** |
* $OpenXM: OpenXM/src/OpenMath/OMproxy.java,v 1.28 2000/01/21 07:04:55 tam Exp $ |
* $OpenXM: OpenXM/src/OpenMath/OMproxy.java,v 1.30 2000/03/12 14:24:21 tam Exp $ |
*/ |
*/ |
|
|
import JP.ac.kobe_u.math.tam.OpenXM.*; |
import JP.ac.kobe_u.math.tam.OpenXM.*; |
Line 85 class OMproxy implements Runnable{ |
|
Line 85 class OMproxy implements Runnable{ |
|
int argc; |
int argc; |
|
|
if(!(stack.peek() instanceof CMO_STRING)){ |
if(!(stack.peek() instanceof CMO_STRING)){ |
stack.push(new CMO_ERROR2()); |
stack.push(new CMO_ERROR2(new CMO_NULL())); |
return; |
return; |
} |
} |
function_name = ((CMO_STRING)stack.pop()).getString(); |
function_name = ((CMO_STRING)stack.pop()).getString(); |
Line 96 class OMproxy implements Runnable{ |
|
Line 96 class OMproxy implements Runnable{ |
|
} |
} |
|
|
if(argc != 1){ |
if(argc != 1){ |
stack.push(new CMO_ERROR2()); |
stack.push(new CMO_ERROR2(new CMO_NULL())); |
return; |
return; |
} |
} |
|
|
Line 108 class OMproxy implements Runnable{ |
|
Line 108 class OMproxy implements Runnable{ |
|
return; |
return; |
} |
} |
|
|
stack.push(new CMO_ERROR2()); |
stack.push(new CMO_ERROR2(new CMO_NULL())); |
return; |
return; |
} |
} |
|
|
Line 134 class OMproxy implements Runnable{ |
|
Line 134 class OMproxy implements Runnable{ |
|
} |
} |
|
|
{ |
{ |
CMO[] CMOFormat = {new CMO_INT32(CMO.CMO_NULL), |
CMO[] CMOFormat = {new CMO_INT32(CMO.NULL), |
new CMO_INT32(CMO.CMO_INT32), |
new CMO_INT32(CMO.INT32), |
new CMO_INT32(CMO.CMO_STRING), |
new CMO_INT32(CMO.CMO_STRING), |
new CMO_INT32(CMO.CMO_LIST), |
new CMO_INT32(CMO.CMO_LIST), |
new CMO_INT32(CMO.CMO_MONOMIAL32), |
new CMO_INT32(CMO.CMO_MONOMIAL32), |
Line 145 class OMproxy implements Runnable{ |
|
Line 145 class OMproxy implements Runnable{ |
|
new CMO_INT32(CMO.CMO_DMS_GENERIC), |
new CMO_INT32(CMO.CMO_DMS_GENERIC), |
new CMO_INT32(CMO.CMO_RECURSIVE_POLYNOMIAL), |
new CMO_INT32(CMO.CMO_RECURSIVE_POLYNOMIAL), |
new CMO_INT32(CMO.CMO_DISTRIBUTED_POLYNOMIAL), |
new CMO_INT32(CMO.CMO_DISTRIBUTED_POLYNOMIAL), |
new CMO_INT32(CMO.CMO_POLYNOMIAL_IN_ONE_VARIABLE), |
new CMO_INT32(CMO.POLYNOMIAL_IN_ONE_VARIABLE), |
new CMO_INT32(CMO.CMO_BIGFLOAT), |
new CMO_INT32(CMO.CMO_BIGFLOAT), |
new CMO_INT32(CMO.CMO_INDETERMINATE), |
new CMO_INT32(CMO.CMO_INDETERMINATE), |
new CMO_INT32(CMO.CMO_TREE)}; |
new CMO_INT32(CMO.CMO_TREE)}; |
Line 164 class OMproxy implements Runnable{ |
|
Line 164 class OMproxy implements Runnable{ |
|
Object mathcap = stack.pop(); |
Object mathcap = stack.pop(); |
|
|
if(mathcap instanceof CMO_MATHCAP){ |
if(mathcap instanceof CMO_MATHCAP){ |
stack.push(new CMO_ERROR2()); |
stack.push(new CMO_ERROR2(new CMO_NULL())); |
} |
} |
ox.setMathCap((CMO_MATHCAP)mathcap); |
ox.setMathCap((CMO_MATHCAP)mathcap); |
} |
} |