Unit ok_auto_link

Description

Auto-link tests.

Self name: ok_auto_link, simple identifiers Var1, qualified ident: ok_auto_link.Var1.

Ident that can't be auto-linked: no_auto_link_to_me. Explicit link to ident that can't be auto-linked: no_auto_link_to_me.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TMyClass  

Constants

no_auto_link_to_me = 1;

Variables

Var1: Integer;

Description

Constants

no_auto_link_to_me = 1;
 

Variables

Var1: Integer;

Test of auto-linking:

Self name is Var1, simple ident is TMyClass, qualified ident is TMyClass.Field.

Ident that can't be auto-linked: no_auto_link_to_me. Explicit link to ident that can't be auto-linked: no_auto_link_to_me.

Note that auto-linking works also inside @code:

Self name is Var1, simple ident is TMyClass, qualified ident is TMyClass.Field.

Test of @noAutoLink:

Things below should not be converted to links:

Self name is Var1, simple ident is TMyClass, qualified ident is TMyClass.Field.

Ident that can't be auto-linked: no_auto_link_to_me. Explicit link to ident that can't be auto-linked: no_auto_link_to_me.

Simple ident once again TMyClass.

Inside @code:

Self name is Var1, simple ident is TMyClass, qualified ident is TMyClass.Field.