TypeInfo (version 1.38.0)

ClassNameOrExpression-class: Class "ClassNameOrExpression" to represent type information as either class names or arbitrary language test

Description

This class is used to represent a type test that is specified either as a collection of class names (and whether to check for strict equality or inheritance) or a dynamic predicate expression that is evaluated at run-time to determine whether the test is satisfied.

We may not need this in the "new" class hierarchy. It was created originally to be a union of character vectors, calls or expressions. But now that we have NamedTypeTest and DynamicTypeTest, we could perhaps use a common base class.

Arguments

Objects from the Class

A virtual Class: No objects may be created from it.

Methods

No methods defined with class "ClassNameOrExpression" in the signature.

See Also

TypedSignature TypedSignature-class ReturnTypeSpecification