Class UnicodeCharacterLiteral
Package: grammarkdown
Represents a Unicode character literal in one of two forms:
<TAB>
U+0000
Constructors
constructor(text, questionToken)
Constructs a new instance of the UnicodeCharacterLiteral
class
Declaration
constructor(text: string | undefined, questionToken: Token<SyntaxKind.QuestionToken> | undefined);
Parameters
- text
- string | undefined
- questionToken
- Token<SyntaxKind.QuestionToken> | undefined
Properties
firstChild
Declaration
get firstChild(): Node | undefined;
Property Value
Node | undefined
lastChild
Declaration
get lastChild(): Node | undefined;
Property Value
Node | undefined
text
Declaration
readonly text: string | undefined;
Property Value
string | undefined
Methods
children()
Declaration
children(): IterableIterator<Node>;
Returns
IterableIterator<Node>
forEachChild(cbNode)
Declaration
forEachChild<T>(cbNode: (node: Node) => T | undefined): T | undefined;
Type Parameters
- T
Parameters
- cbNode
- (node: Node) => T | undefined
Returns
T | undefined