Class ISeparatedSyntaxList2

Hierarchy

  • AST
    • ISeparatedSyntaxList2

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(_fileName: string, members: AST[], _separatorCount: number): ISeparatedSyntaxList2

Parameters

  • _fileName: string
  • members: AST[]
  • _separatorCount: number

Returns

ISeparatedSyntaxList2

Properties

public _end: number

private _fileName: any

private _separatorCount: any

public _start: number

public _trailingTriviaWidth: number

private members: any

public parent: AST

Methods

public end(): number

Returns

number

public fileName(): string

Returns

string

public isExpression(): boolean

Returns

boolean

public kind(): SyntaxKind

Returns

SyntaxKind

public nonSeparatorAt(index: number): AST

Parameters

  • index: number

Returns

AST

public nonSeparatorCount(): number

Returns

number

public nonSeparatorIndexOf(ast: AST): number

Parameters

Returns

number

public postComments(): Comment[]

Returns

Comment[]

public preComments(): Comment[]

Returns

Comment[]

public separatorCount(): number

Returns

number

public setPostComments(comments: Comment[])

Parameters

public setPreComments(comments: Comment[])

Parameters

public start(): number

Returns

number

public structuralEquals(ast: ISeparatedSyntaxList2, includingPosition: boolean): boolean

Parameters

Returns

boolean

public syntaxID(): number

Returns

number

public trailingTriviaWidth(): number

Returns

number

public width(): number

Returns

number