Skip to main content

Interface: Graph

typings/Types.Graph

Properties

actions

Readonly actions: ActionRecord

Keeps a map from action names to objects that implement the given action

Defined in

typings/Types.ts:101


cheatsheet

Readonly cheatsheet: Cheatsheet

Used to display cheatsheet

Defined in

typings/Types.ts:162


commandServerApi

Readonly commandServerApi: null | CommandServerApi

API object for interacting with the command server, if it exists

Defined in

typings/Types.ts:139


debug

Readonly debug: Debug

Debug logger

Defined in

typings/Types.ts:152


decorations

Readonly decorations: Decorations

Responsible for all the hat styles

Defined in

typings/Types.ts:129


editStyles

Readonly editStyles: EditStyles

Maintains decorations that can be used to visually indicate to the user the targets of their actions.

Defined in

typings/Types.ts:107


fontMeasurements

Readonly fontMeasurements: FontMeasurements

Takes measurements of the user's font

Defined in

typings/Types.ts:134


hatTokenMap

Readonly hatTokenMap: HatTokenMap

Maps from (hatStyle, character) pairs to tokens

Defined in

typings/Types.ts:112


keyboardCommands

Readonly keyboardCommands: KeyboardCommands

Set of simplified commands that can be easily mapped to keyboard shortcuts.

Defined in

typings/Types.ts:172


rangeUpdater

Readonly rangeUpdater: RangeUpdater

This component can be used to register a list of ranges to keep up to date as the document changes

Defined in

typings/Types.ts:124


snippets

Readonly snippets: Snippets

Keeps a merged list of all user-contributed, core, and extension-contributed cursorless snippets

Defined in

typings/Types.ts:118


statusBarItem

Readonly statusBarItem: StatusBarItem

Creates a VSCode status bar item

Defined in

typings/Types.ts:167


testCaseRecorder

Readonly testCaseRecorder: TestCaseRecorder

Used for recording test cases

Defined in

typings/Types.ts:157

Methods

getNodeAtLocation

Readonly getNodeAtLocation(document, range): SyntaxNode

Function to access nodes in the tree sitter.

Parameters

NameType
documentTextDocument
rangeRange

Returns

SyntaxNode

Defined in

typings/Types.ts:144