ABT.MemberIterator.Status.Locate C# (CSharp) Method

Locate() public method

Read an expression in the initializer list, locate the corresponding position.
public Locate ( ExprType type ) : void
type ExprType
return void
            public void Locate(ExprType type) {
                switch (type.Kind) {
                    case ExprTypeKind.STRUCT_OR_UNION:
                        LocateStruct((StructOrUnionType)type);
                        return;
                    default:
                        // Even if the expression is of array Type, treat it as a scalar (pointer).
                        LocateScalar();
                        return;
                }
            }