# types/syntax.types.ts

> 23 lines of code and 1 definition.

Tree: GovLab Quality
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/quality#file-quality-types-syntax-types-ts
Source text: https://banes-lab.com/source/quality/types/syntax.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/quality/types.md), after [types/stylelint.types.ts](https://banes-lab.com/source/quality/types/stylelint.types.ts.md) and before [types/target.types.ts](https://banes-lab.com/source/quality/types/target.types.ts.md).

## Definitions

- `SyntaxNode` (interface_declaration, line 1, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/quality/folder-quality-types.md)

## Source

```typescript
export interface SyntaxNode {
    type: string;
    range?: [number, number];
    name?: string;
    operator?: string;
    value?: unknown;
    computed?: boolean;
    callee?: SyntaxNode;
    object?: SyntaxNode;
    property?: SyntaxNode;
    arguments?: SyntaxNode[];
    properties?: SyntaxNode[];
    elements?: SyntaxNode[];
    key?: SyntaxNode;
    quasis?: { value?: { cooked?: unknown } }[];
    expressions?: SyntaxNode[];
    left?: SyntaxNode;
    right?: SyntaxNode;
    parent?: SyntaxNode;
    id?: SyntaxNode;
    init?: SyntaxNode;
    argument?: SyntaxNode;
}
```
