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
edgeCount
Declaration
protected get edgeCount(): number;
Property Value
number
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
accept(visitor)
Declaration
protected accept(visitor: NodeVisitor): UnicodeCharacterRange;
Parameters
- visitor
- NodeVisitor
Returns
children()
Declaration
children(): IterableIterator<Node>;
Returns
IterableIterator<Node>
edgeName(offset)
Declaration
protected edgeName(offset: number): string | undefined;
Parameters
- offset
- number
Returns
string | undefined
edgeValue(offset)
Declaration
protected edgeValue(offset: number): Node | ReadonlyArray<Node> | undefined;
Parameters
- offset
- number
Returns
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