Package de.monticore.types.check
Class SymTypeOfTuple
java.lang.Object
de.monticore.types.check.SymTypeExpression
de.monticore.types.check.SymTypeOfTuple
- All Implemented Interfaces:
Comparable<SymTypeExpression>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SymTypeExpression> List of types within the tupleFields inherited from class de.monticore.types.check.SymTypeExpression
functionList, LOG_NAME, sourceInfo, typeSymbol -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ISymTypeVisitor visitor) booleanaddAllTypes(int index, Collection<? extends SymTypeExpression> collection) booleanaddAllTypes(Collection<? extends SymTypeExpression> collection) voidaddType(int index, SymTypeExpression element) booleanaddType(SymTypeExpression element) voidbooleancontainsAllTypes(Collection<?> collection) booleancontainsType(Object element) booleanbooleanvoidforEachTypes(Consumer<? super SymTypeExpression> action) getType(int index) intintindexOfType(Object element) booleanbooleanAm I a tuple type (e.g.intlastIndexOfType(Object element) listIteratorTypes(int index) booleanremoveAllTypes(Collection<?> collection) booleanremoveIfType(Predicate<? super SymTypeExpression> filter) removeType(int index) booleanremoveType(Object element) voidreplaceAllTypes(UnaryOperator<SymTypeExpression> operator) booleanretainAllTypes(Collection<?> collection) setType(int index, SymTypeExpression element) voidsetTypeList(List<SymTypeExpression> types) intvoidsortTypes(Comparator<? super SymTypeExpression> comparator) subListTypes(int start, int end) Object[]toArrayTypes(SymTypeExpression[] array) Methods inherited from class de.monticore.types.check.SymTypeExpression
_internal_setSourceInfo, asArrayType, asFunctionType, asGenericType, asInferenceVariable, asIntersectionType, asNullType, asNumericWithSIUnitType, asObjectType, asObscureType, asPrimitive, asRegExType, asSIUnitType, asTypeVariable, asUnionType, asVoidType, asWildcard, compareTo, getCorrectFields, getCorrectFields, getCorrectMethods, getCorrectMethods, getFieldList, getFieldList, getFieldList, getFieldList, getMethodList, getMethodList, getMethodList, getMethodList, getSourceInfo, getTypeInfo, hasTypeInfo, isArrayType, isFunctionType, isGenericType, isInferenceVariable, isIntersectionType, isNullType, isNumericWithSIUnitType, isObjectType, isObscureType, isPrimitive, isRegExType, isSIUnitType, isTypeVariable, isUnionType, isValidType, isVoidType, isWildcard, print, printAsJson, printFullName, replaceTypeVariables, transformFieldList, transformMethodList
-
Field Details
-
types
List of types within the tuple
-
-
Constructor Details
-
SymTypeOfTuple
-
-
Method Details
-
isTupleType
public boolean isTupleType()Description copied from class:SymTypeExpressionAm I a tuple type (e.g. "(String, int)")- Overrides:
isTupleTypein classSymTypeExpression
-
asTupleType
- Overrides:
asTupleTypein classSymTypeExpression
-
deepClone
- Overrides:
deepClonein classSymTypeExpression
-
deepEquals
- Specified by:
deepEqualsin classSymTypeExpression
-
accept
- Overrides:
acceptin classSymTypeExpression
-
containsType
-
containsAllTypes
-
isEmptyTypes
public boolean isEmptyTypes() -
iteratorTypes
-
sizeTypes
public int sizeTypes() -
toArrayTypes
-
toArrayTypes
-
spliteratorTypes
-
streamTypes
-
parallelStreamTypes
-
getType
-
indexOfType
-
lastIndexOfType
-
equalsTypeTypes
-
hashCodeTypes
public int hashCodeTypes() -
listIteratorTypes
-
listIteratorTypes
-
subListTypes
-
getTypeList
-
clearTypes
public void clearTypes() -
addType
-
addAllTypes
-
removeType
-
removeAllTypes
-
retainAllTypes
-
removeIfType
-
forEachTypes
-
addType
-
addAllTypes
-
removeType
-
setType
-
replaceAllTypes
-
sortTypes
-
setTypeList
-