HighlightResult class

Implementers

Constructors

HighlightResult({required String code, required double relevance, String? language, required bool illegal, Error? errorRaised, IllegalData? illegalBy, required Emitter emitter, Mode? top})

Properties

code String
getter/setter pair
errorRaised Error?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
illegal bool
getter/setter pair
language String?
getter/setter pair
relevance double
getter/setter pair
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
render(HighlightRenderer renderer) → void
toHtml([String classPrefix = 'hljs-']) String
toString() String
A string representation of this object.
inherited

Operators

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