Skip to content

DeclarationPath

1 min read

No import is needed.

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

DeclarationPath

A declaration reference supplied as an attribute argument.

public struct DeclarationPath

text

Dotted declaration path as written (Json.serialize).

public text: string

symbol

Resolved declaration identifier, or an empty string when unresolved.

public symbol: string

constructor

Creates a DeclarationPath with text, symbol.

public constructor(text: string, symbol: string)