public class DefTypeForm
extends java.lang.Object
| Constructor and Description |
|---|
DefTypeForm() |
| Modifier and Type | Method and Description |
|---|---|
static VncVal |
createChoiceType(VncChoiceTypeDef typeDef,
VncVal val) |
static VncVal |
createCustomType(VncCustomTypeDef typeDef,
java.util.List<VncVal> typeArgs) |
static VncVal |
createType(java.util.List<VncVal> args,
Env env) |
static VncVal |
createWrappedType(VncWrappingTypeDef typeDef,
VncVal val) |
static VncVal |
defineCustomChoiceType(VncKeyword type,
VncList choiceVals,
ReadEvalFunction interpreter,
Env env) |
static VncVal |
defineCustomType(VncKeyword type,
VncVector fields,
VncFunction validationFn,
ReadEvalFunction interpreter,
Env env) |
static VncVal |
defineCustomWrapperType(VncKeyword type,
VncKeyword baseType,
VncFunction validationFn,
ReadEvalFunction interpreter,
Env env,
CustomWrappableTypes wrappableTypes) |
static boolean |
isCustomType(VncKeyword typeDef,
Env env) |
static boolean |
isCustomType(VncVal val,
Env env) |
static VncKeyword |
qualifyMainTypeWithCurrentNS(VncKeyword type,
java.lang.String fnName) |
public static VncVal defineCustomType(VncKeyword type, VncVector fields, VncFunction validationFn, ReadEvalFunction interpreter, Env env)
public static VncVal defineCustomWrapperType(VncKeyword type, VncKeyword baseType, VncFunction validationFn, ReadEvalFunction interpreter, Env env, CustomWrappableTypes wrappableTypes)
public static VncVal defineCustomChoiceType(VncKeyword type, VncList choiceVals, ReadEvalFunction interpreter, Env env)
public static boolean isCustomType(VncKeyword typeDef, Env env)
public static VncVal createCustomType(VncCustomTypeDef typeDef, java.util.List<VncVal> typeArgs)
public static VncVal createWrappedType(VncWrappingTypeDef typeDef, VncVal val)
public static VncVal createChoiceType(VncChoiceTypeDef typeDef, VncVal val)
public static VncKeyword qualifyMainTypeWithCurrentNS(VncKeyword type, java.lang.String fnName)