Enum cpp_demangle::ast::ArrayType
source · pub enum ArrayType {
DimensionNumber(usize, TypeHandle),
DimensionExpression(Expression, TypeHandle),
NoDimension(TypeHandle),
}
Expand description
The <array-type>
production.
<array-type> ::= A <positive dimension number> _ <element type>
::= A [<dimension expression>] _ <element type>
Variants§
DimensionNumber(usize, TypeHandle)
An array with a number-literal dimension.
DimensionExpression(Expression, TypeHandle)
An array with an expression for its dimension.
NoDimension(TypeHandle)
An array with no dimension.