Uses of Class
gnu.bytecode.Type
-
Packages that use Type Package Description gnu.bytecode Contains classes to generate, read, write, and print Java bytecode in the form of.classfiles.gnu.expr SupportsExpression, and various related classes need to compile programming languages.gnu.kawa.functions gnu.kawa.lispexpr gnu.kawa.reflect Contains classes to use reflection.gnu.kawa.xml gnu.mapping SupportsProcedure, and various related classes needed at run-time by dynamically typed languages (such as Scheme and ECMAScript).gnu.xquery.lang gnu.xquery.util kawa.lang kawa.standard -
-
Uses of Type in gnu.bytecode
Subclasses of Type in gnu.bytecode Modifier and Type Class Description classArrayTypeclassClassTypeclassObjectTypeSemi-abstract class object reference types.classParameterizedTypeclassPrimTypeclassSpecialObjectTypeUsed for object types that don't correspond to JVM types.classTypeVariableA type variable in a parameterized type.classUninitializedTypeA pseudo-type used for allocated but uninitialized objects.Fields in gnu.bytecode declared as Type Modifier and Type Field Description TypeArrayType. elementsstatic TypeType. neverReturnsTypeThe return type of an expression that never returns, such as a throw.Type[]CodeAttr. stack_typesstatic Type[]Type. typeArray0Methods in gnu.bytecode that return Type Modifier and Type Method Description TypeArrayType. getComponentType()TypeArrayType. getImplementationType()TypeSpecialObjectType. getImplementationType()TypeType. getImplementationType()Return Java-level implementation type.TypeUninitializedType. getImplementationType()Type[]Method. getParameterTypes()TypeArrayType. getRawType()TypeType. getRawType()Return JVM-level implementation type.TypeSpecialObjectType. getRealType()TypeType. getRealType()If this is a type alias, get the aliased type.TypeMethod. getReturnType()TypeField. getType()TypeLocation. getType()static TypeType. getType(String name)Find an Type with the given name, or create a new one.TypeParameterizedType. getTypeArgumentType(int index)Type[]ParameterizedType. getTypeArgumentTypes()static TypeType. lookupType(String name)static TypeType. lowestCommonSharedType(Type t1, Type t2)static TypeType. lowestCommonSuperType(Type t1, Type t2)Computes the common supertype Interfaces are not taken into account.static TypeType. make(Class reflectClass)static TypeType. make(Class reflectClass, Type type)Try to map java.lang.reflect.Type to gnu.bytecode.Type.TypeCodeAttr. popType()TypeType. promote()TypePrimType. promotedType()TypeType. promoteIfUnsigned()static TypeType. signatureToType(String sig)Get a Type corresponding to the given signature string.static TypeType. signatureToType(String sig, int off, int len)Get a Type corresponding to the given signature string.TypeCodeAttr. topType()Methods in gnu.bytecode with parameters of type Type Modifier and Type Method Description FieldClassType. addField(String name, Type type)FieldClassType. addField(String name, Type type, int flags)VariableCodeAttr. addLocal(Type type)Add a new local variable (in the current scope).VariableCodeAttr. addLocal(Type type, String name)Add a new local variable (in the current scope).voidAnnotationEntry. addMember(String name, Object value, Type type)MethodClassType. addMethod(String name, int flags, Type[] arg_types, Type return_type)Add a method to this ClassType.MethodClassType. addMethod(String name, Type[] arg_types, Type return_type, int flags)VariableScope. addVariable(CodeAttr code, Type type, String name)static AnnotationEntry.ValueAnnotationEntry. asAnnotationValue(Object val, Type type)static booleanCodeAttr. castNeeded(Type top, Type required)intArrayType. compare(Type other)intClassType. compare(Type other)intObjectType. compare(Type other)intParameterizedType. compare(Type other)intPrimType. compare(Type other)intSpecialObjectType. compare(Type other)abstract intType. compare(Type other)Return a numeric code showing "subtype" relationship: 1: if other is a pure subtype of this; 0: if has the same values; -1: if this is a pure subtype of other; -2: if they have values in common but neither is a subtype of the other; -3: if the types have no values in common.intTypeVariable. compare(Type other)voidMethod. compile_checkcast(Type type)voidCodeAttr. emitArrayLoad(Type element_type)Load an element from an array.voidCodeAttr. emitArrayStore(Type element_type)Store into an element of an array.voidCodeAttr. emitBinop(int base_code, Type type)voidCodeAttr. emitCheckcast(Type type)voidType. emitConvertFromPrimitive(Type stackType, CodeAttr code)Convert from stackType (usually PrimType) to this type.voidCodeAttr. emitDup(Type type)voidCodeAttr. emitInstanceof(Type type)voidCodeAttr. emitNewArray(Type element_type)voidCodeAttr. emitNewArray(Type element_type, int dims)Compile code to allocate a new array.voidCodeAttr. emitNot(Type type)Compile 'not', assuming 0 or 1 is on the JVM stack.voidCodeAttr. emitPrimop(int opcode, int arg_count, Type retType)voidCodeAttr. emitPushConstant(int val, Type type)voidCodeAttr. emitPushDefaultValue(Type type)Push zero or null as appropriate for the given type.voidCodeAttr. emitTryStart(boolean has_finally, Type result_type)voidCodeAttr. fixUnsigned(Type stackType)MethodClassType. getDeclaredMethod(String name, Type[] arg_types)Look for a matching method.Method[]ClassType. getMatchingMethods(String name, Type[] paramTypes, int flags)MethodClassType. getMethod(String name, Type[] arg_types)Looks for a method matching the name and types.MethodObjectType. getMethod(String name, Type[] arg_types)MethodSpecialObjectType. getMethod(String name, Type[] arg_types)intArrayType. isCompatibleWithValue(Type valueType)intClassType. isCompatibleWithValue(Type valueType)intType. isCompatibleWithValue(Type valueType)If this is the target type, is a given source type compatible?static intType. isCompatibleWithValue(Type targetType, Type valueType)static booleanType. isMoreSpecific(Type[] t1, Type[] t2)Return true iff t1[i].isSubtype(t2[i]) for all i.static booleanType. isSame(Type t1, Type t2)booleanType. isSubtype(Type other)Return true if this is a "subtype" of other.static TypeType. lowestCommonSharedType(Type t1, Type t2)static TypeType. lowestCommonSuperType(Type t1, Type t2)Computes the common supertype Interfaces are not taken into account.static ArrayTypeArrayType. make(Type elements)Find or create an ArrayType for the specified element type.static StringMethod. makeGenericSignature(Type[] arg_types, Type return_type)static StringMethod. makeSignature(Type[] arg_types, Type return_type)voidMethod. maybe_compile_checkcast(Type type)voidCodeAttr. noteVarType(int offset, Type type)voidClassTypeWriter. printSignature(Type type)voidCodeAttr. pushType(Type type)static voidType. registerTypeForClass(Class clas, Type type)Register that the Type for class is type.voidMethod. setReturnType(Type type)voidLocation. setType(Type type)voidCodeAttr. setTypes(Type[] labelLocals, Type[] labelStack)Set the current type state from a label.ExitableBlockCodeAttr. startExitableBlock(Type resultType, boolean runFinallyBlocks)Enter a block which can be exited.static PrimTypePrimType. unboxedType(Type type)Constructors in gnu.bytecode with parameters of type Type Constructor Description ArrayType(Type elements)ParameterizedType(ClassType rawType, Type... typeArgumentTypes)Type(Type type)Value(char kind, Type type, Object value)Variable(String name, Type type) -
Uses of Type in gnu.expr
Subclasses of Type in gnu.expr Modifier and Type Class Description static classInlineCalls.LenientExpectedTypeNew helper Type class, used for "lenient" conversions.static classInlineCalls.ProcedureInCallContextstatic classInlineCalls.ValueNeededTypeA marker type to indicate that void is invalid.classPairClassTypeA class type implemented as a pair of an interface and a class.Fields in gnu.expr declared as Type Modifier and Type Field Description static Type[]Compilation. apply0argsstatic Type[]Compilation. apply1argsstatic Type[]Compilation. apply2argsstatic Type[]Compilation. applyNargsstatic Type[]Compilation. int1ArgsTypeLambdaExp. returnTypeIf non-null, the type of values returned by this function.static Type[]Compilation. string1Argstatic Type[]Compilation. sym1ArgTypeDeclaration. typeThe type of the value of this Declaration.protected TypeExpression. typeTypeLiteral. typeMethods in gnu.expr that return Type Modifier and Type Method Description TypeCompilation. asBooleanValue(ConditionalTarget target, Type stackType)Hook for language-specific handling in ConditionalTarget.TypeLanguage. asType(Object spec)"Coerce" a language-specific "type specifier" object to a Type.protected TypeCaseExp. calculateDatumsType()Computes the union type of the case expression datums.protected TypeApplyExp. calculateType()protected TypeBeginExp. calculateType()protected TypeCaseExp. calculateType()protected TypeClassExp. calculateType()The ClassType generated for this class.protected TypeExitExp. calculateType()protected TypeExpression. calculateType()protected TypeIfExp. calculateType()protected TypeLambdaExp. calculateType()protected TypeLetExp. calculateType()protected TypeObjectExp. calculateType()protected TypeQuoteExp. calculateType()protected TypeReferenceExp. calculateType()protected TypeSetExp. calculateType()protected TypeThisExp. calculateType()protected TypeTryExp. calculateType()TypeLanguage. decodeType(Type javaType, String annotType, ParameterizedType parameterizedType)static TypePrimProcedure. decodeType(Type javaType, String[] annotTypes, int annotIndex, ParameterizedType parameterizedType, Language lang)static TypeStackTarget. forceLazy(Compilation comp, Type stackType, Type type)static TypeStackTarget. forceLazyIfNeeded(Compilation comp, Type stackType, Type type)TypeDeclaration. getImplementationType()TypeInlineCalls.ProcedureInCallContext. getImplementationType()TypeInlineCalls.ValueNeededType. getImplementationType()TypeTypeValue. getImplementationType()The lower-level Type used to represent instances of this type.TypeLanguage. getLangTypeFor(Type type)TypeLanguage. getNamedType(String name)Get the correspondingTypefor a given name.TypePrimProcedure. getParameterType(int index)Type[]PrimProcedure. getParameterTypes()TypeQuoteExp. getRawType()TypeLambdaExp. getReturnType()The return type of this function, i.e the type of its returned values.TypePrimProcedure. getReturnType()TypePrimProcedure. getReturnType(Expression[] args)TypeConditionalTarget. getType()TypeConsumerTarget. getType()TypeDeclaration. getType()TypeExpression. getType()Return the Type used to represent the values of this Expression.TypeIgnoreTarget. getType()TypeStackTarget. getType()abstract TypeTarget. getType()TypeLanguage. getTypeFor(Expression exp)TypeLanguage. getTypeFor(Expression exp, boolean lenient)Interpreting exp as a type specifier, get the actual type.TypeLanguage. getTypeFor(Class clas)TypeLanguage. getTypeFor(Object spec, boolean lenient)Convert a "type value" to a Type.TypeLanguage. getTypeFor(String name)TypeExpression. getTypeRaw()TypeDeclaration. loadFieldLocation(Declaration owner, Compilation comp)static TypeInlineCalls.ValueNeededType. make(Type type)TypeLambdaExp. restArgType()Return the parameter type of the "keyword/rest" parameters.static TypeInlineCalls. typeForCalledFunction(Expression exp)Return a required type for procedure application context.static TypeLanguage. unionType(Type t1, Type t2)Methods in gnu.expr with parameters of type Type Modifier and Type Method Description DeclarationScopeExp. addDeclaration(Object name, Type type)Create a new declaration in the current Scope.FieldCompilation. allocLocalField(Type type, String name)TypeCompilation. asBooleanValue(ConditionalTarget target, Type stackType)Hook for language-specific handling in ConditionalTarget.ExpressionInlineCalls. checkType(Expression exp, Type required)intInlineCalls.LenientExpectedType. compare(Type other)intInlineCalls.ProcedureInCallContext. compare(Type other)intInlineCalls.ValueNeededType. compare(Type other)voidExpression. compile(Compilation comp, Type type)voidConditionalTarget. compileFromStack(Compilation comp, Type stackType)voidConsumerTarget. compileFromStack(Compilation comp, Type stackType)voidIgnoreTarget. compileFromStack(Compilation comp, Type stackType)voidStackTarget. compileFromStack(Compilation comp, Type stackType)abstract voidTarget. compileFromStack(Compilation comp, Type stackType)protected booleanStackTarget. compileFromStack0(Compilation comp, Type stackType)static voidPrimProcedure. compileInvoke(Compilation comp, Method method, Target target, boolean isTailCall, int op_code, Type returnType, boolean doFixUnsigned)Emit the actual invoke operation, after arguments have been pushed.static voidPrimProcedure. compileRestArg(Type arg_type, ApplyExp exp, int startArg, int i, Compilation comp)static voidStackTarget. convert(Compilation comp, Type stackType, Type targetType)TypeLanguage. decodeType(Type javaType, String annotType, ParameterizedType parameterizedType)static TypePrimProcedure. decodeType(Type javaType, String[] annotTypes, int annotIndex, ParameterizedType parameterizedType, Language lang)static voidCheckedTarget. emitCheckedCoerce(Compilation comp, LambdaExp proc, int argno, Type stackType, Type type, Variable argValue)static voidCheckedTarget. emitCheckedCoerce(Compilation comp, String procname, int argno, Type type)protected static voidStackTarget. emitCoerceFromObject(Type type, Compilation comp)StringLanguage. encodeType(Type type)Encode this type as a parseable string.protected MethodClassExp. findMethodForBridge(String mname, Type[] ptypes, Type rtype)Finds a like-named method suitable for bridging the given arg/return types (i.e.static TypeStackTarget. forceLazy(Compilation comp, Type stackType, Type type)static TypeStackTarget. forceLazyIfNeeded(Compilation comp, Type stackType, Type type)StringLanguage. formatType(Type type)voidClassExp. generateBridgeMethod(Compilation comp, Method src_method, Type[] bridge_arg_types, Type bridge_return_type)Given an existing method and a desired bridge method signature, generates an appropriate bridge method.protected StackTargetCheckedTarget. getClonedInstance(Type type)protected StackTargetStackTarget. getClonedInstance(Type type)static TargetCheckedTarget. getInstance(Type type)static TargetCheckedTarget. getInstance(Type type, LambdaExp proc, int argno)static TargetCheckedTarget. getInstance(Type type, String procname, int argno)static TargetStackTarget. getInstance(Type type)TypeLanguage. getLangTypeFor(Type type)static PrimProcedurePrimProcedure. getMethodFor(ClassType procClass, String name, Declaration decl, Type[] atypes, Language language)static PrimProcedurePrimProcedure. getMethodFor(Procedure pproc, Declaration decl, Type[] atypes, Language language)static TargetStackTarget. getTruncatingInstance(Type type)intGenericProc. isApplicable(Type[] args, Type restType)intPrimProcedure. isApplicable(Type[] argTypes, Type restType)static intInlineCalls. isCompatibleWithValue(Type required, Type expType)intInlineCalls.LenientExpectedType. isCompatibleWithValue(Type valueType)DeclarationCompilation. letVariable(Object name, Type type, Expression init)DeclarationCompilation. loopVariable(Object name, Type type, Expression init)Add a new loop variable, with initializer.static InlineCalls.LenientExpectedTypeInlineCalls.LenientExpectedType. make(Type type)static TypeInlineCalls.ValueNeededType. make(Type type)static PrimProcedurePrimProcedure. makeBuiltinBinary(int opcode, Type type)static PrimProcedurePrimProcedure. makeBuiltinUnary(int opcode, Type type)static ApplyExpCompilation. makeCoercion(Expression value, Type type)Convenience method to make an Expression that coerces a value.static TargetConsumerTarget. makeContextTarget(Compilation comp, Type type)Make a Target that uses the current CallContext's current Consumer.static QuoteExpQuoteExp. makeShared(Object value, Type type)ExpressionInlineCalls. maybeInline(ApplyExp exp, Type required, Procedure proc)static voidLambdaExp. maybeSetReturnType(LambdaExp lexp, Type type)static TargetTarget. pushValue(Type type)Return a Target to push a value of specified type on JCM stack.voidLambdaExp. setCoercedReturnType(Type returnType)voidLambdaExp. setReturnType(Type returnType)voidPrimProcedure. setReturnType(Type retType)voidDeclaration. setType(Type type)voidDeclaration. setType(Expression typeExp, Type type)voidExpression. setType(Type type)voidQuoteExp. setType(Type type)static TypeLanguage. unionType(Type t1, Type t2)voidCompilation. usedClass(Type type)Called for classes referenced in bytecode.ExpressionExpression. validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl)Apply inlining transformations on a given ApplyExp.ExpressionLambdaExp. validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl)ExpressionQuoteExp. validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl)ExpressionReferenceExp. validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl)ExpressionInlineCalls. visit(Expression exp, Type required)protected ExpressionInlineCalls. visitApplyExp(ApplyExp exp, Type required)ExpressionInlineCalls. visitApplyOnly(ApplyExp exp, Type required)Visit an ApplyExp assuming function and arguments have been visited.protected ExpressionInlineCalls. visitBeginExp(BeginExp exp, Type required)protected ExpressionInlineCalls. visitCaseExp(CaseExp exp, Type required)protected ExpressionInlineCalls. visitClassExp(ClassExp exp, Type required)voidInlineCalls. visitDefaultArgs(LambdaExp exp, Type required)protected ExpressionInlineCalls. visitFluidLetExp(FluidLetExp exp, Type required)protected ExpressionInlineCalls. visitIfExp(IfExp exp, Type required)protected ExpressionInlineCalls. visitLambdaExp(LambdaExp exp, Type required)protected ExpressionInlineCalls. visitLetExp(LetExp exp, Type required)protected ExpressionInlineCalls. visitModuleExp(ModuleExp exp, Type required)protected ExpressionInlineCalls. visitQuoteExp(QuoteExp exp, Type required)protected ExpressionInlineCalls. visitReferenceExp(ReferenceExp exp, Type required)protected ExpressionInlineCalls. visitScopeExp(ScopeExp exp, Type required)protected ExpressionInlineCalls. visitSetExp(SetExp exp, Type required)protected ExpressionInlineCalls. visitTryExp(TryExp exp, Type required)Constructors in gnu.expr with parameters of type Type Constructor Description CatchClause(Object name, Type type, Expression body)CheckedTarget(Type type)CheckedTarget(Type type, LambdaExp proc, int argno)CheckedTarget(Type type, String procname, int argno)ConsumerTarget(Variable consumer, Type type)Declaration(Object name, Type type)Literal(Object value, Type type, LitTable litTable)PrimProcedure(int op_code, ClassType classtype, String name, Type retType, Type[] argTypes)PrimProcedure(int opcode, Type retType, Type[] argTypes)PrimProcedure(Method method, Type retType, Type[] argTypes)QuoteExp(Object val, Type type)StackTarget(Type type) -
Uses of Type in gnu.kawa.functions
Methods in gnu.kawa.functions that return Type Modifier and Type Method Description protected TypeCurryExp. calculateType()static TypeCompileArith. combineType(Type t1, Type t2)TypeCallCC. getReturnType(Expression[] args)TypeCompileArith. getReturnType(Expression[] args)TypeGetModuleClass. getReturnType(Expression[] args)TypeMakeList. getReturnType(Expression[] args)TypeValuesMap. getReturnType(Expression[] args)static TypeArithmetic. kindType(int kind)Methods in gnu.kawa.functions with parameters of type Type Modifier and Type Method Description static intArithmetic. classifyType(Type type)static TypeCompileArith. combineType(Type t1, Type t2)static voidMakeSplice. copyTo(Object target, int start, int size, Object values, Type elementType)static ObjectGetNamedPart. getTypePart(Type type, String name)static ExpressionCompileNamedPart. makeExp(Type type, String member)ExpressionCurryExp. validateApply(ApplyExp exp, InlineCalls visitor, Type required, Declaration decl)static ExpressionCompileMisc. validateApplyAppendValues(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileArith. validateApplyArithOp(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyCallCC(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyConstantFunction0(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyConvert(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyFormat(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Validate-apply handling for "format".static ExpressionCompileMisc. validateApplyMakeDynamic(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyMakeProcedure(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyMakePromise(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileProcess. validateApplyRunProcess(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Type-check and optimize RunProcess (i.e.static ExpressionCompileMisc. validateApplySimpleBoolean(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompilationHelpers. validateApplyToArgs(ApplyExp exp, InlineCalls visitor, Type required, Procedure applyToArgs)static ExpressionCompileMisc. validateApplyValuesMap(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyWithExceptionHandler(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileValues. validateApplyWithValues(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileValues. validateCallWithValues(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileNamedPart. validateGetNamedInstancePart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileNamedPart. validateGetNamedPart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompilationHelpers. validateIsEqv(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileNamedPart. validateNamedPart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileNamedPart. validateNamedPartSetter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileNamedPart. validateSetNamedInstancePart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileNamedPart. validateSetNamedPart(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompilationHelpers. validateSetter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc) -
Uses of Type in gnu.kawa.lispexpr
Subclasses of Type in gnu.kawa.lispexpr Modifier and Type Class Description classGenArrayTypeType of multi-dimensional arrays.classLangObjTypeA wrapper around a class type.classLangPrimTypeUse to implement some special types that convert differently.classSeqSizeTypeThis matches a sequences of a specific length.Methods in gnu.kawa.lispexpr that return Type Modifier and Type Method Description static TypeLangObjType. coerceToType(Object obj)static TypeLangObjType. coerceToTypeOrNull(Object type)static TypeLispLanguage. decodeArrayType(String name)TypeGenArrayType. getComponentType()TypeLangObjType. getElementType()TypeGenArrayType. getImplementationType()TypeLangPrimType. getImplementationType()TypeLispLanguage. getNamedType(String name)TypeLispLanguage. getPackageStyleType(String name)Try to get a type of the form lang:type.TypeLispLanguage. getTypeFor(Class clas)TypeLispLanguage. getTypeFor(Object spec, boolean lenient)Methods in gnu.kawa.lispexpr that return types with arguments of type Type Modifier and Type Method Description protected HashMap<String,Type>LispLanguage. getTypeMap()Methods in gnu.kawa.lispexpr with parameters of type Type Modifier and Type Method Description intGenArrayType. compare(Type other)intLangObjType. compare(Type other)intLangPrimType. compare(Type other)intSeqSizeType. compare(Type other)voidLangObjType. emitConvertFromPrimitive(Type stackType, CodeAttr code)static voidLangPrimType. emitTestIfNumber(Variable incoming, Declaration decl, Type type, Compilation comp)intLangObjType. isCompatibleWithValue(Type valueType)intLangPrimType. isCompatibleWithValue(Type valueType)intSeqSizeType. isCompatibleWithValue(Type valueType)voidReadTable. putReaderCtor(String key, Type type)Add a mapping for a SRFI-10 constructor tag.Constructors in gnu.kawa.lispexpr with parameters of type Type Constructor Description GenArrayType(int rank, Type elementType) -
Uses of Type in gnu.kawa.reflect
Subclasses of Type in gnu.kawa.reflect Modifier and Type Class Description classLazyTypeThe type of lazy values - i.e.classMappedArrayTypeAn array type where elements are copied from a sequence.classMultValuesTypeclassOccurrenceTypeA type that matches some number of repetitions of a basetype.classSingletonTypeFields in gnu.kawa.reflect declared as Type Modifier and Type Field Description static TypeOccurrenceType. emptySequenceTypeMethods in gnu.kawa.reflect that return Type Modifier and Type Method Description static TypeMultValuesType. create(Type[] itemTypes)TypeOccurrenceType. getBase()TypeMappedArrayType. getComponentType()TypeFieldLocation. getFType()Get the type of the field.TypeLazyType. getImplementationType()TypeMappedArrayType. getImplementationType()TypeMultValuesType. getImplementationType()TypeOccurrenceType. getImplementationType()TypeSingletonType. getImplementationType()static TypeOccurrenceType. getInstance(Type base, int minOccurs, int maxOccurs)TypeLazyType. getRawType()TypeMappedArrayType. getRealType()TypeInstanceOf. getReturnType(Expression[] args)TypeStaticGet. getReturnType(Expression[] args)TypeStaticSet. getReturnType(Expression[] args)TypeTypeSwitch. getReturnType(Expression[] args)TypeLazyType. getValueType()TypeMultValuesType. getValueType(int index)static TypeOccurrenceType. itemPrimeType(Type type)XQuery formal semantics "prime type"static TypeMappedArrayType. maybe(Type type, int nesting)Methods in gnu.kawa.reflect with parameters of type Type Modifier and Type Method Description static intCompileReflect. checkKnownClass(Type type, Compilation comp)Check if class exists.intLazyType. compare(Type other)intMultValuesType. compare(Type other)intOccurrenceType. compare(Type other)intSingletonType. compare(Type other)static intOccurrenceType. compatibleWithCount(Type type, int count)static TypeMultValuesType. create(Type[] itemTypes)static voidCompileArrays. createArray(Type elementType, Compilation comp, Expression[] args, int start, int end)Optimized code generation of array creation with splicing support.static ArrayMakeArrayMake. getInstance(Type elementType)static LazyTypeLazyType. getInstance(ClassType rawType, Type valueType)static TypeOccurrenceType. getInstance(Type base, int minOccurs, int maxOccurs)static LazyTypeLazyType. getLazyType(Type valueType)static LazyTypeLazyType. getPromiseType(Type valueType)protected voidCompileBuildObject. init(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller)intMappedArrayType. isCompatibleWithValue(Type valueType)intMultValuesType. isCompatibleWithValue(Type valueType)static charOccurrenceType. itemCountCode(Type type)Returna a quantifer kind for a sequence type.static booleanOccurrenceType. itemCountIsOne(Type type)static booleanOccurrenceType. itemCountIsZeroOrOne(Type type)static intOccurrenceType. itemCountMax(Type type)static intOccurrenceType. itemCountMin(Type type)static intOccurrenceType. itemCountRange(Type type)Return a conservative estimate on the min/max number of items of a type.static TypeOccurrenceType. itemPrimeType(Type type)XQuery formal semantics "prime type"static CompileBuildObjectCompileBuildObject. make(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller)static TypeMappedArrayType. maybe(Type type, int nesting)static booleanLazyType. maybeLazy(Type type)static longClassMethods. selectApplicable(PrimProcedure[] methods, Type[] atypes, Type restType)Re-order the methods such that the ones that are definite applicable (all argtypes is subset of parameter type) are first; those possibly applicable next (argtype overlaps parameter types); and ending with those definitely not applicable (some argtype does overlap its parameter type).protected voidOccurrenceType. setBase(Type base)static ExpressionMakeAnnotation. validate(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileReflect. validateApplyInstanceOf(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileInvoke. validateApplyInvoke(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileReflect. validateApplySlotGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileReflect. validateApplySlotSet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileReflect. validateApplyTypeSwitch(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileArrays. validateArrayGet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileArrays. validateArrayLength(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileArrays. validateArrayNew(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileArrays. validateArraySet(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileInvoke. validateNamedInvoke(ApplyExp exp, InlineCalls visitor, ObjectType type, String name, PrimProcedure[] methods, Invoke iproc, Type required)static ExpressionCompileReflect. validateThrow(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Constructors in gnu.kawa.reflect with parameters of type Type Constructor Description ArrayGet(Type element_type)ArrayLength(Type element_type)ArrayMake(Type elementType)ArrayNew(Type element_type)ArraySet(Type element_type)LazyType(ClassType rawType, Type valueType)MappedArrayType(Type elementType)MultValuesType(Type[] itemTypes)OccurrenceType(Type base, int minOccurs, int maxOccurs)StaticGet(ClassType ctype, String name, Type ftype, int flags)StaticSet(ClassType ctype, String name, Type ftype, int flags) -
Uses of Type in gnu.kawa.xml
Subclasses of Type in gnu.kawa.xml Modifier and Type Class Description classAttributeTypeMatches an attribute name pattern.classElementTypeclassNodeSetTypeclassNodeTypeA SeqPosition used to represent a node in (usually) a TreeList.classProcessingInstructionTypeclassXDataTypeAn atomic type as used in XML Schema and related languages.classXIntegerTypeA restriction (sub-range) of the integer type.classXStringTypeclassXTimeTypeMethods in gnu.kawa.xml that return Type Modifier and Type Method Description TypeAttributeType. getImplementationType()TypeElementType. getImplementationType()TypeNodeType. getImplementationType()TypeProcessingInstructionType. getImplementationType()TypeXDataType. getImplementationType()static TypeNodeSetType. getInstance(Type base)TypeCoerceNodes. getReturnType(Expression[] args)TypeMakeAttribute. getReturnType(Expression[] args)TypeMakeElement. getReturnType(Expression[] args)TypeNodeConstructor. getReturnType(Expression[] args)TypeSortNodes. getReturnType(Expression[] args)TypeUnionNodes. getReturnType(Expression[] args)Methods in gnu.kawa.xml with parameters of type Type Modifier and Type Method Description intNodeType. compare(Type other)intXDataType. compare(Type other)static TypeNodeSetType. getInstance(Type base)static ExpressionCompileXmlFunctions. validateApplyMakeUnescapedData(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileXmlFunctions. validateApplyTreeScanner(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Constructors in gnu.kawa.xml with parameters of type Type Constructor Description NodeSetType(Type itemType)XDataType(Object name, Type implementationType, int typeCode) -
Uses of Type in gnu.mapping
Methods in gnu.mapping that return Type Modifier and Type Method Description TypeMethodProc. getParameterType(int index)TypeProcedure. getReturnType(Expression[] args)Semi-deprecated - instead should be set at Inline time.Methods in gnu.mapping with parameters of type Type Modifier and Type Method Description intMethodProc. isApplicable(Type[] argTypes, Type restType)Test if method is applicable to an invocation with given arguments.Constructors in gnu.mapping with parameters of type Type Constructor Description WrongType(int n, Object argValue, Type expectedType)WrongType(Procedure proc, int n, Object argValue, Type expectedType) -
Uses of Type in gnu.xquery.lang
Methods in gnu.xquery.lang that return Type Modifier and Type Method Description TypeXQuery. getStandardType(String name)TypeXQuery. getTypeFor(Class clas)TypeXQuery. getTypeFor(String name)Methods in gnu.xquery.lang with parameters of type Type Modifier and Type Method Description StringXQuery. formatType(Type type) -
Uses of Type in gnu.xquery.util
Methods in gnu.xquery.util that return Type Modifier and Type Method Description TypeOrderedMap. getReturnType(Expression[] args)TypeRelativeStep. getReturnType(Expression[] args)TypeValuesFilter. getReturnType(Expression[] args)Methods in gnu.xquery.util with parameters of type Type Modifier and Type Method Description static ExpressionCompileMisc. validateApplyCastableAs(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyCastAs(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyOrderedMap(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyRelativeStep(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)static ExpressionCompileMisc. validateApplyValuesFilter(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Inliner for theValuesFilterprocedure.static ExpressionCompileMisc. validateArithOp(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Inliner for the ArithOp procedure.static ExpressionCompileMisc. validateBooleanValue(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Inliner for the BooleanValue procedure.static ExpressionCompileMisc. validateCompare(ApplyExp exp, InlineCalls visitor, Type required, Procedure proc)Inliner for the Compare procedure. -
Uses of Type in kawa.lang
Fields in kawa.lang declared as Type Modifier and Type Field Description TypeBindDecls. booleanTypeMethods in kawa.lang that return Type Modifier and Type Method Description TypeTranslator. exp2Type(Pair typeSpecPair)Extract a type from the car of a pair.TypeTranslator. exp2Type(Pair typeSpecPair, Declaration decl, SyntaxForm syntax)TypeGetFieldProc. getReturnType(Expression[] args)TypeSetFieldProc. getReturnType(Expression[] args)Constructors in kawa.lang with parameters of type Type Constructor Description GetFieldProc(ClassType ctype, String name, Type ftype, int flags)SetFieldProc(ClassType ctype, String name, Type ftype, int flags) -
Uses of Type in kawa.standard
Methods in kawa.standard that return Type Modifier and Type Method Description static TypeScheme. exp2Type(Expression exp)Convert expression to a Type.static TypeScheme. getTypeValue(Expression exp)If exp is a "constant" Type, return that type, otherwise return null.Methods in kawa.standard that return types with arguments of type Type Modifier and Type Method Description protected HashMap<String,Type>Scheme. getTypeMap()Methods in kawa.standard with parameters of type Type Modifier and Type Method Description StringScheme. formatType(Type type)
-