You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In typed languages, typed entities can be declared as arrays with dimensions:
int[] a; // 1 dimensionint[][] b; // 2 dimensionsint[][][] c; // 3 dimensionsintf() [] { ... } // 1 dimension, and yes the array brackets can appear after the parentheses in Java
We should add a dimensions field to hold the number of dimensions, which defaults to 0.
The field can be either be in FamixTTypedEntity, or in a new FamixTWithDimensions trait.
Since FamixTTypedEntity is currently used even for dynamic language entities, this may not be the right choice.
The text was updated successfully, but these errors were encountered:
In typed languages, typed entities can be declared as arrays with dimensions:
We should add a
dimensions
field to hold the number of dimensions, which defaults to 0.The field can be either be in
FamixTTypedEntity
, or in a newFamixTWithDimensions
trait.Since
FamixTTypedEntity
is currently used even for dynamic language entities, this may not be the right choice.The text was updated successfully, but these errors were encountered: