Class SyntaxTree

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(sourceUnit: SourceUnitSyntax, isDeclaration: boolean, diagnostics: Diagnostic[], fileName: string, lineMap: LineMap, parseOtions: ParseOptions): SyntaxTree

Parameters

Returns

SyntaxTree

Properties

private _allDiagnostics: any

private _fileName: any

private _isDeclaration: any

private _lineMap: any

private _parseOptions: any

private _parserDiagnostics: any

private _sourceUnit: any

Methods

private computeDiagnostics(): any

Returns

any

public diagnostics(): Diagnostic[]

Returns

Diagnostic[]

public fileName(): string

Returns

string

public isDeclaration(): boolean

Returns

boolean

public lineMap(): LineMap

Returns

LineMap

public parseOptions(): ParseOptions

Returns

ParseOptions

public sourceUnit(): SourceUnitSyntax

Returns

SourceUnitSyntax

public structuralEquals(tree: SyntaxTree): boolean

Parameters

Returns

boolean

public toJSON(key: any): any

Parameters

  • key: any

Returns

any