ScriptStackFrame class

Represents the location of the statement/expression being evaluated.

Line and column numbers are defined as follows: - Line and column numbers start with one. That is, line 1 column 1 denotes the start of the script. - When inside a stored procedure, all line/column numbers are relative to the procedure body, not the script in which the procedure was defined. - Start/end positions exclude leading/trailing comments and whitespace. The end position always ends with a ";", when present. - Multi-byte Unicode characters are treated as just one column. - If the original script (or procedure definition) contains TAB characters, a tab "snaps" the indentation forward to the nearest multiple of 8 characters, plus 1. For example, a TAB on column 1, 2, 3, 4, 5, 6 , or 8 will advance the next character to column 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16 will advance the next character to column 17.

Constructors

ScriptStackFrame({int? endColumn, int? endLine, String? procedureId, int? startColumn, int? startLine, String? text})
ScriptStackFrame.fromJson(Map json_)

Properties

endColumn int?
One-based end column.
getter/setter pair
endLine int?
One-based end line.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
procedureId String?
Name of the active procedure, empty if in a top-level script.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startColumn int?
One-based start column.
getter/setter pair
startLine int?
One-based start line.
getter/setter pair
text String?
Text of the current statement/expression.
getter/setter pair

Methods

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

Operators

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