irods
4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems. Fossies Dox: irods-4.2.8.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file.
56 if ( numDisjuncts != 0 ) {
81 typeArgs[0] = paramType;
82 typeArgs[1] = retType;
112 typeArgs[0] = elemType;
121 typeArgs[0] = typeArg;
155 for ( i = 0; i < arity; i++ ) {
178 memset( res1, 0,
sizeof(
Res ) );
193 param->
type = (
char* )
region_alloc( r,
sizeof(
char ) * strlen( typeName ) );
194 strcpy( param->
type, typeName );
277 free( msParamArray );
368 memset( rd, 0,
sizeof(
RuleDesc ) );
379 memset( rs, 0,
sizeof(
RuleSet ) );
437 memcpy( param->
subtrees, params, paramsLen *
sizeof(
Node * ) );
Node * createErrorNode(char *error, Label *exprloc, Region *r)
Node * createIntNode(char *t, Label *exprloc, Region *r)
Node * newNode(NodeType type, const char *text, Label *eloc, Region *r)
RuleSet * newRuleSet(Region *r)
msParamArray_t * newMsParamArray()
TypingConstraint * newTypingConstraint(ExprType *a, ExprType *b, NodeType type, Node *node, Region *r)
Res * newDatetimeRes(Region *r, long dt)
void * region_alloc(Region *r, size_t s)
FunctionDesc * newFuncSymLink(char *fn, int nArgs, Region *r)
#define T_VAR_DISJUNCTS(x)
RuleDesc * newRuleDesc(RuleType rk, Node *n, int dynamictyping, Region *r)
ExprType * newTVar2(int numDisjuncts, Node **disjuncts, Region *r)
#define setNodeType(x, t)
ExprType * newIRODSType(const char *name, Region *r)
Node * createTextNode(char *t, Label *exprloc, Region *r)
FunctionDesc * newFunctionFD(char *type, SmsiFuncTypePtr func, Region *r)
Res * newCollRes(int size, ExprType *elemType, Region *r)
#define FD_SMSI_FUNC_PTR_LVAL(x)
ExprType * newUnaryType(NodeType nodeType, ExprType *typeArg, Region *r)
char * cpString(char *res, Region *r)
Res * newUnspecifiedRes(Region *r)
FunctionDesc * newRuleIndexListFD(RuleIndexList *ruleIndexList, ExprType *type, Region *r)
int clearMsParamArray(msParamArray_t *msParamArray, int freeStruct)
#define FD_RULE_INDEX_LIST_LVAL(x)
Node ** setDegree(Node *node, int d, Region *r)
Node * createUnaryFunctionNode(char *fn, Node *a, Label *expr, Region *r)
void setBase(Node *node, char *base, Region *r)
FunctionDesc * newDeconstructorFD(char *type, int proj, Region *r)
#define RES_STRING_STR_LEN(x)
Node * newPartialApplication(Node *func, Node *arg, int nArgsLeft, Region *r)
Node * createBinaryFunctionNode(char *fn, Node *a, Node *b, Label *expr, Region *r)
FunctionDesc * newExternalFD(Node *type, Region *r)
ExprType * newTupleTypeVarArg(int arity, int vararg, ExprType **paramTypes, Region *r)
Node * newTupleRes(int arity, Res **comps, Region *r)
Res * newPathRes(Region *r, const char *s)
#define RES_FUNC_N_ARGS(x)
Res * newErrorRes(Region *r, int errcode)
ExprType * newSimpType(NodeType type, Region *r)
Node * createFunctionNode(const char *fn, Node **params, int paramsLen, Label *exprloc, Region *r)
Node * createActionsNode(Node **params, int paramsLen, Label *exprloc, Region *r)
Res * newStringBasedRes(Region *r, const char *s)
FunctionDesc * newConstructorFD2(Node *type, Region *r)
Node * createStringNode(char *t, Label *exprloc, Region *r)
ExprType * newTVar(Region *r)
#define RES_DOUBLE_VAL_LVAL(x)
Res * newStringRes(Region *r, const char *s)
Res * newBoolRes(Region *r, int n)
#define T_VAR_NUM_DISJUNCTS(x)
ExprType * newFuncTypeVarArg(int arity, int vararg, ExprType **paramTypes, ExprType *retType, Region *r)
ExprType * newTupleType(int arity, ExprType **typeArgs, Region *r)
Node * createDoubleNode(char *t, Label *exprloc, Region *r)
msParam_t * newMsParam(const char *typeName, void *ioStruct, bytesBuf_t *ioBuf, Region *r)
SmsiFuncType * SmsiFuncTypePtr
Res * newIntRes(Region *r, int n)
Env * newEnv(Hashtable *current, Env *previous, Env *callerEnv, Region *r)
Node * newExprType(NodeType type, int degree, Node **subtrees, Region *r)
Res * newUninterpretedRes(Region *r, const char *typeName, void *ioStruct, bytesBuf_t *ioBuf)
ExprType * parseFuncTypeFromString(char *string, Region *r)
#define RES_INT_VAL_LVAL(x)
FunctionDesc * newConstructorFD(char *type, Region *r)
ExprType * newErrorType(int errcode, Region *r)
Node ** allocSubtrees(Region *r, int size)
Res * newCollRes2(int size, Region *r)
ExprType * newFuncType(ExprType *paramType, ExprType *retType, Region *r)
ExprType * newCollType(ExprType *elemType, Region *r)
char * cpStringExt(const char *str, Region *r)
void deleteMsParamArray(msParamArray_t *msParamArray)
#define T_CONS_TYPE_NAME(x)
ExprType * newConsType(int arity, char *cons, ExprType **paramTypes, Region *r)
Res * newDoubleRes(Region *r, double a)
#define RES_BOOL_VAL_LVAL(x)