public static interface Type.EffectiveArray extends Type
Type.Array, Type.EffectiveArray, Type.EffectiveRecord, Type.EffectiveReference, Type.Function, Type.FunctionOrMethod, Type.Impl, Type.Intersection, Type.Leaf, Type.Method, Type.Negation, Type.Nominal, Type.Primitive, Type.Property, Type.Record, Type.Reference, Type.Union| Modifier and Type | Method and Description |
|---|---|
Type |
getReadableElementType()
Get the element type which could be read from this array.
|
Type |
getWriteableElementType()
Get the element type which could be written to this array.
|
Type.EffectiveArray |
update(Type element)
Determine a new type for this array after an assignment to a given
element.
|
Array, fromString, Function, Intersection, Method, Method, Method, Negation, Nominal, Property, Record, Record, Reference, toImplArrays, toImplOrVoid, toImplRecords, UnionType getReadableElementType()
Type getWriteableElementType()
Type.EffectiveArray update(Type element)
element - The type of the element being assignedCopyright © 2017. All rights reserved.