Class NumericLiteral

Hierarchy

  • AST
    • NumericLiteral

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(_value: number, _text: string, _valueText: string): NumericLiteral

Parameters

  • _value: number
  • _text: string
  • _valueText: string

Returns

NumericLiteral

Properties

public _end: number

public _start: number

private _text: any

public _trailingTriviaWidth: number

private _value: any

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: NumericLiteral, includingPosition: boolean): boolean

Parameters

Returns

boolean

public syntaxID(): number

Returns

number

public text(): string

Returns

string

public trailingTriviaWidth(): number

Returns

number

public value(): any

Returns

any

public valueText(): string

Returns

string

public width(): number

Returns

number