IToken | @jupyterlab (original) (raw)

Interface IToken

An interface for a text token, such as a word, keyword, or variable.

interface IToken {
offset: number;
type?: string;
value: string;
}

Index

Properties

offset type? value

Properties

offset

offset: number

The offset of the token in the code editor.

Optionaltype

type?: string

An optional type for the token.

value

value: string

The value of the token.