pub struct DimArraySpan {
pub name: String,
pub name_pos: LineCol,
pub shared: bool,
pub dimensions: Vec<Expr>,
pub subtype: ExprType,
pub subtype_pos: LineCol,
}Expand description
Components of an array definition.
Fields§
§name: StringName of the array to define. Type annotations are not allowed, hence why this is not a
VarRef.
name_pos: LineColPosition of the name.
Whether the array is global or not.
dimensions: Vec<Expr>Expressions to compute the dimensions of the array.
subtype: ExprTypeType of the array to be defined.
subtype_pos: LineColPosition of the subtype.