Uses of Interface
dev.civl.abc.ast.type.IF.ObjectType
Packages that use ObjectType
Package
Description
Submodule ast.conversion provides classes for representing
to C's "implicit conversions".
Submodule ast.entity defines entities
(objects of type
Entity),
the abstract things such as types, structures, unions, enumerations,
objects (variables), functions, and so on,
which can be named by identifiers in a program.The ast.node.compound submodule
defines nodes and related classes for representing
compound initializers.
The ast.type submodule defines the (abstract) types
that can be specified in a program.
-
Uses of ObjectType in dev.civl.abc.ast.conversion.IF
Methods in dev.civl.abc.ast.conversion.IF that return ObjectTypeModifier and TypeMethodDescriptionArrayConversion.getOldType()LvalueConversion.getOldType()NullPointerConversion.getOldType()An integer type orvoid*.RegularRangeToDomainConversion.getOldType()The range type$range.Methods in dev.civl.abc.ast.conversion.IF with parameters of type ObjectTypeModifier and TypeMethodDescriptionConversionFactory.arrayConversion(ObjectType type) Returns the array conversion with old type the given type.ConversionFactory.lvalueConversion(ObjectType type) Returns a non-trivialLvalueConversionwith old type the given type, or null if the conversion is trivial.ConversionFactory.lvalueConversionType(ObjectType type) Returns the type that would result from applying lvalue conversion to the given type.ConversionFactory.nullPointerConversion(ObjectType type1, PointerType type2) Conversion from an integer constant with value 0 or such cast to a void*, to a pointer type.ConversionFactory.regularRangeToDomainConversion(ObjectType rangeType, DomainType domainType) When a range expression is used in $for or $parfor, it is converted automatically to $domain type. -
Uses of ObjectType in dev.civl.abc.ast.entity.IF
Methods in dev.civl.abc.ast.entity.IF that return ObjectType -
Uses of ObjectType in dev.civl.abc.ast.node.IF.compound
Methods in dev.civl.abc.ast.node.IF.compound that return ObjectTypeModifier and TypeMethodDescriptionCompoundInitializerNode.getType()Returns the type of this initializer.Methods in dev.civl.abc.ast.node.IF.compound with parameters of type ObjectTypeModifier and TypeMethodDescriptionvoidCompoundInitializerNode.setType(ObjectType type) Sets the type of this initializer. -
Uses of ObjectType in dev.civl.abc.ast.type.IF
Subinterfaces of ObjectType in dev.civl.abc.ast.type.IFModifier and TypeInterfaceDescriptioninterfaceThe arithmetic types are "char", the signed and unsigned integer types, enumeration types, and the floating types (which include the real and the complex floating types).interfaceRepresents an array type.interfaceAn atomic type, specified by_Atomic ( type-name )or by using the_Atomictype qualifier.interfaceThe CIVL-C type$domainor$domain(n).interfaceAn enumeration type.interfaceThe floating types come in four kinds:float,double,long double, representing increasing precision, and "real", a CIVL-C type denoted$realrepresenting the mathematical real numbers.interfaceMarker interface for all "integer type" nodes.interfaceA lambda type represents the type of an lambda expression (seeLambdaNode.interfaceThis class represents the$memtype which stands for a set of (typed) memory locations.interfaceinterfaceinterfaceinterfaceRepresents a C "signed or unsigned integer type."interfaceAn instance of this class represents a "standard basic type".interfaceThe 5 "standard" signed integer types.interfaceinterfaceA structure or union type.interfaceAn unqualified object type is an object type without any qualifier (const, volatile, etc.).interfaceMethods in dev.civl.abc.ast.type.IF that return ObjectTypeModifier and TypeMethodDescriptionSetType.elementType()ArrayType.getElementType()The type of the elements.FunctionType.getParameterType(int index) Returns the type of the index-th parameter.FunctionType.getReturnType()The return type of this function.Field.getType()Returns the type of the field, ornullif no type is specified.TypeFactory.heapType()Returns the heap type.TypeFactory.lambdaType(Type freeVariableType, Type lambdaFunctionType) Returns aLambdaTypewhich consists of the type of the free variable of the lambda term.TypeFactory.processType()Returns the process type.TypeFactory.qualify(ObjectType startType, boolean constQualified, boolean volatileQualified, boolean restrictQualified, boolean inputQualified, boolean outputQualified) A more general algorithm for qualifying a type: for each true-valued parameter, the corresponding qualifier is "added" to the resulting type, i.e., if the type is already so-qualified, it is not changed, otherwise, the result will be so qualified.TypeFactory.qualify(ObjectType startType, boolean atomic, boolean constQualified, boolean volatileQualified, boolean restrictQualified, boolean inputQualified, boolean outputQualified) Adds qualifiers and atomic designation as needed to the given type.TypeFactory.rangeType()Returns the CIVL-C range type, denoted$range, which represents a sequence of integers.TypeFactory.scopeType()Returns the scope typeTypeFactory.voidType()Returns an instance of ObjectType representing the "void" type.Methods in dev.civl.abc.ast.type.IF that return types with arguments of type ObjectTypeModifier and TypeMethodDescriptionFunctionType.getParameterTypes()The sequence of formal parameter declarations for this function type.Methods in dev.civl.abc.ast.type.IF with parameters of type ObjectTypeModifier and TypeMethodDescriptionTypeFactory.arrayType(ObjectType elementType, IntegerValue constantExtent) Returns a complete array type in which the size expression has been evaluated to a known constant value.TypeFactory.functionType(ObjectType returnType) Returns the function type with the given return type but with no information on the parameters.TypeFactory.functionType(ObjectType returnType, boolean fromIdentifierList, Iterable<ObjectType> parameterTypes, boolean hasVariableArgs) Returns the function type with the given return type and parameter type list.TypeFactory.incompleteArrayType(ObjectType elementType) Returns an incomplete array type (i.e., the extent is not specified).TypeFactory.newField(FieldDeclarationNode declaration, ObjectType type, Value bitWidth) Creates a new field entity.TypeFactory.qualify(ObjectType startType, boolean constQualified, boolean volatileQualified, boolean restrictQualified, boolean inputQualified, boolean outputQualified) A more general algorithm for qualifying a type: for each true-valued parameter, the corresponding qualifier is "added" to the resulting type, i.e., if the type is already so-qualified, it is not changed, otherwise, the result will be so qualified.TypeFactory.qualify(ObjectType startType, boolean atomic, boolean constQualified, boolean volatileQualified, boolean restrictQualified, boolean inputQualified, boolean outputQualified) Adds qualifiers and atomic designation as needed to the given type.TypeFactory.theSetType(ObjectType elementType) Creates aSetTypewith the given element type.TypeFactory.unspecifiedVariableLengthArrayType(ObjectType elementType) Returns a complete array type of "unspecified variable length".TypeFactory.variableLengthArrayType(ObjectType elementType, ExpressionNode variableSize) Returns a complete array type in which the size expression cannot be evaluated to a known constant value.Method parameters in dev.civl.abc.ast.type.IF with type arguments of type ObjectTypeModifier and TypeMethodDescriptionTypeFactory.functionType(ObjectType returnType, boolean fromIdentifierList, Iterable<ObjectType> parameterTypes, boolean hasVariableArgs) Returns the function type with the given return type and parameter type list.