Delphi-RAG-Lint

drag-lint help

Class Surface

Since: 0.1.0-alpha

Shows the public surface of a class: its members and signatures, without the method bodies.

Read this when you want to know what a class exposes without reading the whole unit. Class Surface shows its members and signatures, without the method bodies.

How to run it

Full flag list: surface in the CLI reference.

Flags

FlagArgumentMeaningDefault
--qname<Foo.TBar>
--db<file.sqlite>
--include-impl
--all-visibility
--format

Where to click

  • RAD Studio main menu: drag-lint > Inspect Symbol > Class Surface...
    1. Put the caret on the class name in the editor
    2. Choose drag-lint > Inspect Symbol > Class Surface...
    3. The members and signatures are shown without method bodies

Pitfalls

  • names, TYPES and trailing comments. outline --in lists them with line numbers.

Details

Shows the public surface of a class: its members and signatures, without the method bodies. Reach for it to see what a class exposes without reading the whole unit.

Running it from the CLI

drag-lint surface --qname <Foo.TBar> [--db <file.sqlite>] [--include-impl] [--all-visibility] [--format text|json]

--qname is the fully qualified class; --include-impl adds implementation-only members; --all-visibility includes non-public members; --format selects text or JSON.

What it needs

The --db flag is optional -- drag-lint auto-resolves the index when omitted. An index must still exist.

Example

Illustrative only:

drag-lint surface --qname CustomerOrder.TCustomerOrder --db C:\Projects\MyApp\_D-RAG\MyApp.sqlite

This would print the public surface of TCustomerOrder.


All features | CLI reference | IDE menus