Class LiteralExpression

Hierarchy

  • AST
    • LiteralExpression

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(_nodeType: SyntaxKind, _text: string, _valueText: string): LiteralExpression

Parameters

  • _nodeType: SyntaxKind
  • _text: string
  • _valueText: string

Returns

LiteralExpression

Properties

public _end: number

private _nodeType: any

public _start: number

private _text: any

public _trailingTriviaWidth: number

private _valueText: 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 postComments(): Comment[]

Returns

Comment[]

public preComments(): Comment[]

Returns

Comment[]

public setPostComments(comments: Comment[])

Parameters

public setPreComments(comments: Comment[])

Parameters

public start(): number

Returns

number

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

Parameters

Returns

boolean

public syntaxID(): number

Returns

number

public text(): string

Returns

string

public trailingTriviaWidth(): number

Returns

number

public valueText(): string

Returns

string

public width(): number

Returns

number