function TIDispatchField.GetValue: IDispatch;
begin
Result := inherited GetValue as IDispatch;
end;
procedure TIDispatchField.SetValue(const Value: IDispatch);
begin
inherited SetValue(Value as IUnknown);
end;
In both cases the ntAs node should have 2 children: the left and right side of the equation.
The ntInherited node should only ever have 1 child: (something like) an expression.
Take the following snippet from
Data.DB
:Near Line 9800:
This yields the following output:
In both cases the
ntAs
node should have 2 children: the left and right side of the equation.The
ntInherited
node should only ever have 1 child: (something like) an expression.