Skip to main content
Module

x/ts_morph/ts_morph.d.ts>QuestionDotTokenableNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface QuestionDotTokenableNode
import { type QuestionDotTokenableNode } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Methods

hasQuestionDotToken(): boolean

If it has a question dot token.

getQuestionDotTokenNode(): Node<ts.QuestionDotToken> | undefined

Gets the question dot token node or returns undefined if it doesn't exist.

getQuestionDotTokenNodeOrThrow(): Node<ts.QuestionDotToken>

Gets the question dot token node or throws.

setHasQuestionDotToken(value: boolean): this

Sets if this node has a question dot token.

function QuestionDotTokenableNode
import { QuestionDotTokenableNode } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Type Parameters

T extends Constructor<QuestionDotTokenableNodeExtensionType>