record TTypeHelper

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TTypeHelper = record helper for TType

Description

Extends TType

Overview

Methods

function VisitFields(const AVisitor: TFieldVisitor): Boolean; overload;
function VisitFields(const AVisitor: TFieldVisitorMethod): Boolean; overload;

Properties

property Declaration: TCursor read GetDeclaration;

Description

Methods

function VisitFields(const AVisitor: TFieldVisitor): Boolean; overload;
function VisitFields(const AVisitor: TFieldVisitorMethod): Boolean; overload;

Visit the fields of this type.

This function visits all the direct fields by invoking the given AVisitor with the cursors of each visited field. The traversal may be ended prematurely, if the visitor returns TVisitorResult.Break.

Parameters
AVisitor
the visitor function that will be invoked for each field.
Returns

True if the traversal was terminated prematurely by the visitor returning TVisitorResult.Break.

Properties

property Declaration: TCursor read GetDeclaration;

The cursor for the declaration of the given type.


Generated by PasDocEx, based on PasDoc 0.14.0.