SourceFrame class

A single source location frame.

Constructors

SourceFrame({required String file, required int line, required int col, String? desc, String type = 'rohd'})
Creates a SourceFrame with the given file, line, col, optional desc, and optional type tag (defaults to 'rohd').
const
SourceFrame.fromJson(Map<String, dynamic> json)
Create from JSON map (as received over DTD).
factory

Properties

col int
1-based column number.
final
desc String?
Optional description (e.g. function name from stack trace).
final
file String
File path (package-relative, e.g. lib/src/foo.dart).
final
hashCode int
The hash code for this object.
no setterinherited
line int
1-based line number.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortFile String
Short display name for status bar.
no setter
type String
Frame type: 'sv' for SystemVerilog, 'rohd' for ROHD Dart source.
final
typeTag String
Type tag for display: 'SV', 'ROHD', or 'Source'.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize to JSON for transmission.
toString() String
A string representation of this object.
inherited

Operators

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