Uses of Interface
dev.civl.sarl.IF.expr.ReferenceExpression
Packages that use ReferenceExpression
Package
Description
This package provides the internal interface for the representation of basic
symbolic expressions.
This package and its subpackages provide the "public interface" to SARL.
The public interface package dealing with symbolic expressions.
-
Uses of ReferenceExpression in dev.civl.sarl.expr.IF
Methods in dev.civl.sarl.expr.IF that return ReferenceExpressionModifier and TypeMethodDescriptionExpressionFactory.identityReference()Returns the identity (or "trivial") reference I.ExpressionFactory.nullReference()Returns the "null reference", a symbolic expression of reference type which is not equal to a reference value returned by any of the other methods, and which cannot be dereferenced.Methods in dev.civl.sarl.expr.IF with parameters of type ReferenceExpressionModifier and TypeMethodDescriptionExpressionFactory.arrayElementReference(ReferenceExpression arrayReference, NumericExpression index) Given a reference to an array and an index (integer), returns a reference to the element of the array at that indexExpressionFactory.offsetReference(ReferenceExpression reference, NumericExpression offset) Given a ReferenceExpression and a NumericExpression offset, returns an offsetReference.ExpressionFactory.tupleComponentReference(ReferenceExpression tupleReference, IntObject fieldIndex) Given a reference to a tuple, and a field index, returns a reference to that component of the tupleExpressionFactory.unionMemberReference(ReferenceExpression unionReference, IntObject memberIndex) Given a reference to a union (expression of union type) and an index of a member type of that union, returns a reference to the underlying element -
Uses of ReferenceExpression in dev.civl.sarl.IF
Methods in dev.civl.sarl.IF that return ReferenceExpressionModifier and TypeMethodDescriptionCoreUniverse.identityReference()Returns the identity (or "trivial") referenceI.CoreUniverse.nullReference()Returns the "null reference", a symbolic expression of reference type which is not equal to a reference value returned by any of the other methods, and which cannot be dereferenced.Methods in dev.civl.sarl.IF with parameters of type ReferenceExpressionModifier and TypeMethodDescriptionCoreUniverse.arrayElementReference(ReferenceExpression arrayReference, NumericExpression index) Given a reference to an array and anindex(integer), returns a reference to the element of the array at that index.CoreUniverse.assign(SymbolicExpression value, ReferenceExpression reference, SymbolicExpression subValue) Given a symbolic expression value, a reference to a point within that value, and a subValue, returns the symbolic expression obtained by replacing the referenced part of value with subValue.CoreUniverse.dereference(SymbolicExpression value, ReferenceExpression reference) Given areferenceand avalue, returns the sub-expression ofvaluespecified by the reference.CoreUniverse.offsetReference(ReferenceExpression reference, NumericExpression offset) CoreUniverse.referencedType(SymbolicType type, ReferenceExpression reference) Returns the type referenced by a reference into an expression of the given type.CoreUniverse.tupleComponentReference(ReferenceExpression tupleReference, IntObject fieldIndex) Given a reference to a tuple, and a field index, returns a reference to that component of the tuple.CoreUniverse.unionMemberReference(ReferenceExpression unionReference, IntObject memberIndex) Given a reference to a union (expression of union type) and an index of a member type of that union, returns a reference to the underlying element. -
Uses of ReferenceExpression in dev.civl.sarl.IF.expr
Subinterfaces of ReferenceExpression in dev.civl.sarl.IF.exprModifier and TypeInterfaceDescriptioninterfaceA reference to an element of an array.interfaceA non-trivialReferenceExpression, i.e., one which is not the null reference or the identity reference.interfaceA reference to some point which is specified by an integer "offset" from another reference.interfaceA reference into a specified field of a tuple value.interfaceA reference to a member of aSymbolicUnionType.Methods in dev.civl.sarl.IF.expr that return ReferenceExpressionModifier and TypeMethodDescriptionNTReferenceExpression.getParent()As this is a reference to an array element, tuple component, union member, or an offset reference, returns the reference to the parent, i.e., the array, tuple, union, or the other reference, resp.