Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | import type ICStructSymbol from "./ICStructSymbol";
import type ICEnumSymbol from "./ICEnumSymbol";
import type ICEnumMemberSymbol from "./ICEnumMemberSymbol";
import type ICFunctionSymbol from "./ICFunctionSymbol";
import type ICVariableSymbol from "./ICVariableSymbol";
import type ICTypedefSymbol from "./ICTypedefSymbol";
/**
* Discriminated union of all C language symbol types.
*
* Use the `kind` field to narrow to a specific symbol type:
* ```typescript
* if (symbol.kind === "struct") {
* // TypeScript knows symbol is ICStructSymbol here
* }
* ```
*/
type TCSymbol =
| ICStructSymbol
| ICEnumSymbol
| ICEnumMemberSymbol
| ICFunctionSymbol
| ICVariableSymbol
| ICTypedefSymbol;
export default TCSymbol;
|