Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UnparsedSource

Hierarchy

  • Node
    • UnparsedSource

Index

Properties

Optional Readonly decorators

decorators: NodeArray<Decorator>

Readonly end

end: number

fileName

fileName: string

Readonly flags

flags: NodeFlags

Optional hasNoDefaultLib

hasNoDefaultLib: boolean

helpers

helpers: readonly UnscopedEmitHelper[]

Readonly kind

libReferenceDirectives

libReferenceDirectives: readonly FileReference[]

Optional Readonly modifiers

modifiers: ModifiersArray

Readonly parent

parent: Node

Readonly pos

pos: number

Readonly prologues

prologues: readonly UnparsedPrologue[]

referencedFiles

referencedFiles: readonly FileReference[]

Optional sourceMapPath

sourceMapPath: string

Optional sourceMapText

sourceMapText: string

Optional Readonly syntheticReferences

syntheticReferences: readonly UnparsedSyntheticReference[]

text

text: string

Readonly texts

texts: readonly UnparsedSourceText[]

typeReferenceDirectives

typeReferenceDirectives: readonly string[]

Methods

forEachChild

  • forEachChild<T>(cbNode: (node: Node) => T, cbNodeArray?: (nodes: NodeArray<Node>) => T): T

getChildAt

getChildCount

getChildren

getEnd

  • getEnd(): number

getFirstToken

getFullStart

  • getFullStart(): number

getFullText

getFullWidth

  • getFullWidth(): number

getLastToken

getLeadingTriviaWidth

  • getLeadingTriviaWidth(sourceFile?: SourceFile): number

getSourceFile

getStart

  • getStart(sourceFile?: SourceFile, includeJsDocComment?: boolean): number

getText

getWidth

Generated using TypeDoc