AstExceptionHandler class

Collects parsing exceptions from ngast, converting to BuildError.

See throwErrorsIfAny.

Constructors

AstExceptionHandler(String _contents, String _sourceUrl, String _directiveName)

Properties

exceptions List<AngularParserException>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(AngularParserException? e) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
throwErrorsIfAny() → void
Converts and throws exceptions as a BuildError.
toString() String
A string representation of this object.
inherited

Operators

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