Class Comment

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(_trivia: ISyntaxTrivia, endsLine: boolean, _start: number, _end: number): Comment

Parameters

  • _trivia: ISyntaxTrivia
  • endsLine: boolean
  • _start: number
  • _end: number

Returns

Comment

Properties

public _end: number

public _start: number

private _trivia: any

public endsLine: boolean

Methods

public end(): number

Returns

number

public fullText(): string

Returns

string

public kind(): SyntaxKind

Returns

SyntaxKind

public start(): number

Returns

number

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

Parameters

  • ast: Comment
  • includingPosition: boolean

Returns

boolean