Uses of Interface
dev.civl.abc.ast.type.IF.Type
Packages that use Type
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.node.expression submodule defines AST nodes
for representing expressions in a program.
The ast.node.type submodule defines AST nodes
for representing type constructs in a program.
The ast.type submodule defines the (abstract) types
that can be specified in a program.
The ast.value submodule defines classes for representing
constant values that can occur in a program, such as numeric literals,
characters, strings, pointer constants, and so on.
-
Uses of Type in dev.civl.abc.analysis.pointsTo.IF
Methods in dev.civl.abc.analysis.pointsTo.IF that return TypeMethods in dev.civl.abc.analysis.pointsTo.IF with parameters of type TypeModifier and TypeMethodDescriptionInsensitiveFlowFactory.assignAuxExpr(Type type) creates a typed auxiliary abstract object -
Uses of Type in dev.civl.abc.ast.conversion.IF
Methods in dev.civl.abc.ast.conversion.IF that return TypeModifier and TypeMethodDescriptionConversion.getNewType()Returns the type of the entity after applying this conversion.Conversion.getOldType()Returns the type of the entity before applying this conversion.Methods in dev.civl.abc.ast.conversion.IF with parameters of type TypeModifier and TypeMethodDescriptionConversionFactory.assignmentConversion(Configuration config, ExpressionNode rhs, Type newType) Given (1) the processed right hand side of an assignment expression and (2) the type of the assignment expression (i.e., the adjusted type of the left hand side), returns the conversion from the right-hand type to the assignment type.ConversionFactory.assignmentConversion(Configuration config, ExpressionNode rhs, Type newType, boolean ignoreQualifier) Given (1) the processed right hand side of an assignment expression and (2) the type of the assignment expression (i.e., the adjusted type of the left hand side), returns the conversion from the right-hand type to the assignment type. -
Uses of Type in dev.civl.abc.ast.entity.IF
Methods in dev.civl.abc.ast.entity.IF that return TypeModifier and TypeMethodDescriptionCommonEntity.getType()ProgramEntity.getType()Other thanLabel, andPragmaHandler, every kind of Entity has a type, returned by this method.Methods in dev.civl.abc.ast.entity.IF that return types with arguments of type TypeModifier and TypeMethodDescriptionVariable.getTypeAlignments()An object declaration may contain any number of alignment specifiers.Methods in dev.civl.abc.ast.entity.IF with parameters of type TypeModifier and TypeMethodDescriptionvoidVariable.addTypeAlignment(Type type) Adds an alignment type to the list of type alignments associated to this node.EntityFactory.newFunction(String name, ProgramEntity.LinkageKind linkage, Type type) Creates a newFunction.EntityFactory.newTypedef(String name, Type type) Creates a newTypedefentity.EntityFactory.newVariable(String name, ProgramEntity.LinkageKind linkage, Type type) Creates a newVariable.voidvoidSets the type of this entity. -
Uses of Type in dev.civl.abc.ast.node.IF.compound
Methods in dev.civl.abc.ast.node.IF.compound that return Type -
Uses of Type in dev.civl.abc.ast.node.IF.expression
Methods in dev.civl.abc.ast.node.IF.expression that return TypeModifier and TypeMethodDescriptionExpressionNode.getConvertedType()Returns the final converted type of the expression.ExpressionNode.getInitialType()Returns the initial type of the expression.SizeableNode.getType()If this is a type node, returns the conceptual C type associated to the type node; if this is an expression node, returns the converted type associated to the expression.Methods in dev.civl.abc.ast.node.IF.expression with parameters of type TypeModifier and TypeMethodDescriptionGenericSelectionNode.getAssociatedExpression(Type typeLabel) Gets the expression node associated to the typeNode representing a type compatible with typeLabel.voidExpressionNode.setInitialType(Type type) Sets the initial type of the expression. -
Uses of Type in dev.civl.abc.ast.node.IF.type
Methods in dev.civl.abc.ast.node.IF.type that return TypeModifier and TypeMethodDescriptionTypeNode.getType()Returns the conceptual C type associated to this type node.Methods in dev.civl.abc.ast.node.IF.type with parameters of type Type -
Uses of Type in dev.civl.abc.ast.type.IF
Subinterfaces of Type 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.interfaceAccording to C11, a function type is characterized by the return type and the number and types of the arguments.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.interfaceA type of aVariable, also known as an "object" in C.interfaceinterfaceinterfaceA set type is the type for expressions that represent sets of objects.interfaceinterfaceRepresents 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 TypeModifier and TypeMethodDescriptionTypeFactory.compositeArrayTypeInDeclarationForCIVLC(Type varType, Type compositeType) Given a variablevdeclaration with an initializer, the declared typet1ofvand the composite typet2, which strictly conforms C11 standard, fort1and the type of the initializer , returns the composite type, which conforms CIVL-C extention, fort1andt2.TypeFactory.compositeType(Type type1, Type type2) Given two compatible types, returns the "composite type" obtained by combining features of both types.TypeFactory.getType(int id) Returns the id-th type conrolled by this type factory.Type.ignoreQualifiersAtomic()PointerType.referencedType()Methods in dev.civl.abc.ast.type.IF that return types with arguments of type TypeModifier and TypeMethodDescriptionTypeFactory.getTypes()Returns the set of types controlled by this type factory as an Iterable object.Methods in dev.civl.abc.ast.type.IF with parameters of type TypeModifier and TypeMethodDescriptionbooleanType.compatibleWith(Type type) Is this type "compatible" with the given type? See C11 Sec.TypeFactory.compositeArrayTypeInDeclarationForCIVLC(Type varType, Type compositeType) Given a variablevdeclaration with an initializer, the declared typet1ofvand the composite typet2, which strictly conforms C11 standard, fort1and the type of the initializer , returns the composite type, which conforms CIVL-C extention, fort1andt2.TypeFactory.compositeType(Type type1, Type type2) Given two compatible types, returns the "composite type" obtained by combining features of both types.booleanType.equivalentTo(Type type) Is this type "equivalent to" the given type.booleanTypeFactory.isArrayOfCharType(Type type) Is the given type an array-of-char type?booleanTypeFactory.isBundleType(Type type) Is the given type a CIVL-C bundle type?booleanTypeFactory.isPointerType(Type type) Is the given type a (qualified or unqualified) pointer type?booleanTypeFactory.isVoidType(Type type) Is the given type a void type?TypeFactory.lambdaType(Type freeVariableType, Type lambdaFunctionType) Returns aLambdaTypewhich consists of the type of the free variable of the lambda term.TypeFactory.pointerType(Type referencedType) Returns an instance of PointerType with the given referenced type. -
Uses of Type in dev.civl.abc.ast.value.IF
Methods in dev.civl.abc.ast.value.IF that return TypeModifier and TypeMethodDescriptionCastValue.getCastType()Value.getType()Returns the type of this value.TypeValue.getTypeArgument()Methods in dev.civl.abc.ast.value.IF with parameters of type TypeModifier and TypeMethodDescriptionValueFactory.alignofValue(Type type) ValueFactory.operatorValue(Type type, OperatorNode.Operator operator, Value[] arguments) The legal operators are: ADDRESSOF: invalid input: '&' pointer to object BITAND: invalid input: '&' bit-wise and BITCOMPLEMENT: ~ bit-wise complement BITOR: | bit-wise inclusive or BITXOR: ^ bit-wise exclusive or CONDITIONAL: ?: the conditional operator DEREFERENCE: * pointer dereference DIV: / numerical division EQUALS: == equality GT: > greater than GTE: >= greater than or equals LAND: invalid input: '&'invalid input: '&' logical and LOR: || logical or LT: invalid input: '<' less than LTE: invalid input: '<'= less than or equals MINUS: - binary subtraction (numbers and pointers) MOD: % integer modulus NEQ: != not equals NOT: ! logical not PLUS: + binary addition, numeric or pointer SHIFTLEFT: invalid input: '<'invalid input: '<' shift left SHIFTRIGHT: >> shift right SUBSCRIPT: [] array subscript TIMES: * numeric multiplication UNARYMINUS: - numeric negative UNARYPLUS // + numeric no-opValueFactory.sizeofValue(Type type)