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.
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