Skip to content

Token

原文链接

https://microsoft.github.io/monaco-editor/docs.html#classes/Token.html

快捷链接

Cconstructor
P_tokenBrand
Planguage
Poffset
Ptype
MtoString

constructor

  • 语法:new Token(offset: number, type: string, language: string)
  • 参数:
    • offset: number
    • type: string
    • language: string
  • 返回值:Token

_tokenBrand

  • 语法:_tokenBrand: string

language

  • 语法:language: string

offset

  • 语法:offset: number

type

  • 语法:type: string

toString

  • 语法:toString(): string