Skip to main content
Module

x/deno2node/src/deps.deno.ts>CompilerCommentNode

Compile your Deno project to run on Node.js.
Go to Latest
class CompilerCommentNode
implements [ts.Node]
Abstract
import { CompilerCommentNode } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Constructors

new
protected
CompilerCommentNode()

Properties

private
_fullStart
private
_sourceFile
private
_start
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