|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Type | |
fmrisc.AST | |
fmrisc.ProofNavigator | |
fmrisc.Proving.CVCL | |
fmrisc.Semantics |
Uses of Type in fmrisc.AST |
Classes in fmrisc.AST that implement Type | |
class |
ArrayType
Handling of array types. |
class |
AtomicType
Handling of atomic types. |
class |
FunctionType
Handling of function type expressions |
class |
RecordType
Handling of record types. |
class |
Reference
Handling of identifiers used in declarations |
class |
SubrangeType
Subranges of integers. |
class |
SubType
Predicated subtypes. |
class |
TupleType
Handling of tuple types. |
class |
TypeBase
Base class of type expressions. |
Methods in fmrisc.AST that return Type | |
Type |
Reference.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
SubrangeType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
Type.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
static Type[] |
ASTUtil.toTypeArray(java.util.Vector v)
converts vector v of Type objects to Type array |
Type |
TypedIdentifier.getType()
returns identifier type |
Type |
TypeDeclaration.getType()
returns declaration type |
Type |
SubType.getBase()
returns base type |
Type |
SubType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
ArrayType.getIndex()
returns index type |
Type |
ArrayType.getBase()
returns base type |
Type |
ArrayType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
RecordType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type[] |
TupleType.getBase()
returns base types |
Type |
TupleType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
FunctionType.getDomain()
returns domain of type |
Type |
FunctionType.getRange()
returns range of type |
Type |
FunctionType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
AtomicType.instantiateType()
return copy of AST with value references instantiated by the substitutions set in the corresponding declaration identifiers |
Type |
ValueDeclaration.getType()
returns declaration type |
Methods in fmrisc.AST with parameters of type Type | |
void |
SubType.setBase(Type base)
set base type |
static TypedIdentifier |
Construct.typedIdentifier(ValueDeclIdentifier identifier,
Type type)
construct typed identifier from identifier and type. |
static TypeDeclaration |
Construct.typeDeclaration(TypeDeclIdentifier name,
Type type)
construct type declaration with denoted name and type. |
static ValueDeclaration |
Construct.valueDeclaration(ValueDeclIdentifier name,
Type type,
Expression value)
construct value declaration with denoted name, type and value. |
static FunctionType |
Construct.functionType(Type domain,
Type range)
construct function type from types domain and range. |
static TupleType |
Construct.tupleType(Type[] base)
construct tuple type with denoted base types. |
static ArrayType |
Construct.arrayType(Type index,
Type base)
construct array type with denoted index type and base type. |
Constructors in fmrisc.AST with parameters of type Type | |
TypedIdentifier(ValueDeclIdentifier identifier,
Type type)
construct typed identifier from identifier and type. |
|
TypeDeclaration(TypeDeclIdentifier name,
Type type)
construct type declaration with denoted name and type. |
|
ArrayType(Type index,
Type base)
construct array type with denoted index type and base type. |
|
TupleType(Type[] base)
construct record type with denoted base types. |
|
FunctionType(Type domain,
Type range)
construct function type from types domain and range. |
|
ValueDeclaration(ValueDeclIdentifier name,
Type type,
Expression value)
construct value declaration with denoted name, type and value. |
Uses of Type in fmrisc.ProofNavigator |
Methods in fmrisc.ProofNavigator that return Type | |
Type |
PNParser.typeExp()
|
Type |
PNParser.typeExpBase()
|
Uses of Type in fmrisc.Proving.CVCL |
Methods in fmrisc.Proving.CVCL that return Type | |
Type |
CVCLParser.typeExp()
|
Type |
CVCLParser.typeExpBase()
|
Uses of Type in fmrisc.Semantics |
Methods in fmrisc.Semantics that return Type | |
Type |
TypeExpression.getType()
get type |
Type |
TypeTableEntry.getType()
return type of entry |
Type |
Environment.getType(Identifier name)
returns canonical type associated to key type equality implies pointer equality of types. |
static Type |
TypeChecking.canonical(Type type)
returns canonical version of type (equality of two types implies the equality of the canonical version of the types). |
static Type |
TypeChecking.typeCheck(Expression value)
type check value |
static Type |
TypeChecking.subType(Type type0,
Type type1)
return greatest subtype of type0 and type1 (null, if none exists) does not generate tccs. |
Type |
ValueTableEntry.getType()
return type of entry |
Type |
TypeTable.getType(Identifier key)
returns canonical type associated to key type equality implies pointer equality of types. |
Methods in fmrisc.Semantics with parameters of type Type | |
void |
TypeExpression.setType(Type type)
set type |
void |
TypeTableEntry.setType(Type type)
set type of entry |
boolean |
Environment.putType(TypeDeclIdentifier name,
Type type)
put type in type table |
boolean |
Environment.putValue(ValueDeclIdentifier name,
Type type,
Expression value)
put named value in value table |
static boolean |
TypeChecking.isBoolean(Type type)
checks if type equals BOOLEAN |
static Type |
TypeChecking.canonical(Type type)
returns canonical version of type (equality of two types implies the equality of the canonical version of the types). |
static boolean |
TypeChecking.hasType(Expression exp,
Type etype,
Type type,
boolean tcc)
returns true iff expr of type etype matches type. |
static Type |
TypeChecking.subType(Type type0,
Type type1)
return greatest subtype of type0 and type1 (null, if none exists) does not generate tccs. |
static TypeExpression |
TypeChecking.clearSubtypes(Type type,
Expression exp)
return version of type where subtypes and subranges are replaced by their base types; the corresponding constraints are returned as a formula which a corresponding expression exp has to fulfill |
void |
ValueTableEntry.setType(Type type)
set type of entry |
boolean |
ValueTable.put(ValueDeclIdentifier name,
Type type,
Expression value,
int depth,
int varnum)
put named value in value table |
boolean |
TypeTable.put(TypeDeclIdentifier key,
Type type)
put type in type table |
Constructors in fmrisc.Semantics with parameters of type Type | |
TypeExpression(Type type,
Expression exp)
Construct pair of type and exp |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |