Highlight class

Constructors

Highlight()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String source, {String? language, bool autoDetection = false}) → Result
Parse source and returns a highlight Result which contains relevance and tree nodes.
parseWithContinuation(String source, {String? language, Mode? continuation, bool ignoreIllegals = true}) → Result
Parses source as a continuation of a previous parse, enabling incremental highlighting of streamed or line-chunked code.
registerLanguage(String name, Mode languageMode) → void
registerLanguages(Map<String, Mode> languages) → void
toString() → String
A string representation of this object.
inherited

Operators

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