Interface: EcmaScriptSymbol
Defined in: src/batteries/artifacts/ecmascript/index.ts:52
A top-level declaration (function, class, interface, type alias, enum, or binding).
Remarks
Line numbers are 0-based. startLine is the line containing the declaration keyword or identifier. endLine is the 0-based index of the last line belonging to this declaration (inclusive).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
endLine | number | 0-based line of the last line of this declaration (inclusive). | src/batteries/artifacts/ecmascript/index.ts:62 |
exported | boolean | Whether this declaration is exported. | src/batteries/artifacts/ecmascript/index.ts:58 |
kind | string | Declaration kind: 'function', 'class', 'interface', 'type', 'enum', or 'const'/'let'/'var'. | src/batteries/artifacts/ecmascript/index.ts:54 |
name | string | The declared name. | src/batteries/artifacts/ecmascript/index.ts:56 |
startLine | number | 0-based line of the first line of this declaration. | src/batteries/artifacts/ecmascript/index.ts:60 |