Module

x/ts_morph/ts_morph.js>CompilerCommentNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class CompilerCommentNode
import { CompilerCommentNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/ts_morph.js";

Constructors

new
CompilerCommentNode(
fullStart,
pos,
end,
kind,
sourceFile,
parent,
)

Methods

forEachChild(cbNode, cbNodeArray)
getChildAt(index, sourceFile)
getChildCount(sourceFile)
getChildren(sourceFile)
getFirstToken(sourceFile)
getFullText(sourceFile)
getLastToken(sourceFile)
getStart(sourceFile, includeJsDocComment)
getText(sourceFile)
getWidth(sourceFile)