Class AnyType
java.lang.Object
software.amazon.smithy.rulesengine.language.evaluation.type.AnyType
- All Implemented Interfaces:
Type
The "any" type, which matches all other types.
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.smithy.rulesengine.language.evaluation.type.Type
expectArrayType, expectBooleanType, expectEmptyType, expectEndpointType, expectIntegerType, expectOptionalType, expectRecordType, expectStringType, expectTupleType, provenTruthy
-
Method Details
-
isA
Description copied from interface:Type
Returns true if this type matches the target type.- Parameters:
type
- the target type to match.- Returns:
- true if the types match, false otherwise.
-
expectAnyType
- Throws:
InnerParseError
-
toString
-
equals
-
hashCode
public int hashCode()
-