pub(super) fn get_inner_matrix_of_struct_array_member(
module: &Module,
base: Handle<Expression>,
func_ctx: &FunctionCtx<'_>,
direct: bool,
) -> Option<MatrixType>
Expand description
Returns the matrix data if the access chain starting at base
:
- starts with an expression with resolved type of
TypeInner::Matrix
ifdirect = true
- contains one or more expressions with resolved type of
TypeInner::Array
ofTypeInner::Matrix
- ends at an expression with resolved type of
TypeInner::Struct