ScriptProblem class

Constructors

ScriptProblem({required ScriptRange range, required String message, required ScriptProblemType type, ScriptProblemSeverity severity = ScriptProblemSeverity.error, ScriptProblemTool source = ScriptProblemTool.luau, String code = ''})

Properties

code String
Tool-native code like rasc's W1008; empty when the tool has none.
final
displayMessage String
Message with the tool's code ahead of it, the way rasc used to bake it into the text.
no setter
hashCode int
The hash code for this object.
no setteroverride
message String
final
range ScriptRange
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity ScriptProblemSeverity
final
source ScriptProblemTool
final
type ScriptProblemType
final

Methods

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

Operators

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

Static Methods

read(BinaryReader reader) ScriptProblem