ParserWarning class Null safety

Throw ParserWarnings when a none fatal error occurred and the Parser should continue e.g. when calling the ParserRule.createReplacementNodes method and a ParserWarning was thrown because there was a syntax error. The Parser will catch ParserWarnings and store them in Parser.warnings A ParserWarning can be nested.

Inheritance

Constructors

ParserWarning(String message, [ParserWarning? subWarning])

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
message String
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subWarning ParserWarning?
final

Methods

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

Operators

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