Class UnicodeCharacterRange
Package: grammarkdown
Represents a range of unicode characters.
U+0000 through U+001F
Constructors
constructor(left, throughKeyword, right)
Constructs a new instance of the UnicodeCharacterRange
class
Declaration
constructor(left: UnicodeCharacterLiteral, throughKeyword: Token<SyntaxKind.ThroughKeyword>, right: UnicodeCharacterLiteral);
Parameters
- throughKeyword
- Token<SyntaxKind.ThroughKeyword>
- right
- UnicodeCharacterLiteral
Properties
firstChild
Declaration
get firstChild(): Node | undefined;
Property Value
Node | undefined
lastChild
Declaration
get lastChild(): Node | undefined;
Property Value
Node | undefined
left
Declaration
readonly left: UnicodeCharacterLiteral;
Property Value
right
Declaration
readonly right: UnicodeCharacterLiteral;
Property Value
throughKeyword
Declaration
readonly throughKeyword: Token<SyntaxKind.ThroughKeyword>;
Property Value
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
update(left, right)
Declaration
update(left: UnicodeCharacterLiteral, right: UnicodeCharacterLiteral): UnicodeCharacterRange;
Parameters
- right
- UnicodeCharacterLiteral