FoundStringLiteral class
Information about a string literal found in dart code.
Constructors
- FoundStringLiteral({required String filePath, required CharacterLocation loc, required CharacterLocation locEnd, required String? stringValue, required StringLiteral stringLiteral})
Properties
- charEnd → int
-
no setter
- charLength → int
-
no setter
- charOffset → int
-
no setter
- filePath → String
-
absolute file path to the file in which the string literal was found.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loc → CharacterLocation
-
line/column of the beginning of the string literal.
final
- locEnd → CharacterLocation
-
line/column of the end of the string literal.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringLiteral → StringLiteral
-
The string literal from the analyser.
final
- stringValue → String?
-
The actual value of the string, better to use stringLiteral.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited