Skip to main content
Module

x/ts_morph/ts_morph.d.ts>CompilerCommentNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class CompilerCommentNode
implements [ts.Node]
Abstract
import { CompilerCommentNode } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Constructors

new
protected
CompilerCommentNode()

Properties

private
_fullStart
private
_sourceFile
private
_start
optional
decorators: ts.NodeArray<ts.Decorator> | undefined
end: number
flags: ts.NodeFlags
kind: SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia
optional
modifiers: ts.NodeArray<ts.Modifier> | undefined
parent: ts.Node
pos: number

Methods

forEachChild<T>(cbNode: (node: ts.Node) => T | undefined, cbNodeArray?: ((nodes: ts.NodeArray<ts.Node>) => T | undefined) | undefined): T | undefined
getChildAt(index: number, sourceFile?: ts.SourceFile | undefined): ts.Node
getChildCount(sourceFile?: ts.SourceFile | undefined): number
getChildren(sourceFile?: ts.SourceFile | undefined): ts.Node[]
getEnd(): number
getFirstToken(sourceFile?: ts.SourceFile | undefined): ts.Node | undefined
getFullStart(): number
getFullText(sourceFile?: ts.SourceFile | undefined): string
getFullWidth(): number
getLastToken(sourceFile?: ts.SourceFile | undefined): ts.Node | undefined
getLeadingTriviaWidth(sourceFile?: ts.SourceFile | undefined): number
getSourceFile(): ts.SourceFile
getStart(sourceFile?: ts.SourceFile | undefined, includeJsDocComment?: boolean | undefined): number
getText(sourceFile?: ts.SourceFile | undefined): string
getWidth(sourceFile?: ts.SourceFileLike | undefined): number