SemanticTokensBuilder class

A semantic tokens builder can help with creating a SemanticTokens instance which contains delta encoded semantic tokens.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

SemanticTokensBuilder.new([SemanticTokensLegend? legend])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
push → ({void Function(Range range, String tokenType, [List<String>? tokenModifiers]) $1, void Function(num line, num char, num length, num tokenType, [num? tokenModifiers]) $2})

Available on SemanticTokensBuilder, provided by the SemanticTokensBuilder$Typings extension

Overload accessor: $1, $2
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build([String? resultId]) SemanticTokens

Available on SemanticTokensBuilder, provided by the SemanticTokensBuilder$Typings extension

Finish and create a SemanticTokens instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited