Dart DocumentationpetitparserRedefinedProductionError

RedefinedProductionError class

Error raised when a production is accidentally redefined.

class RedefinedProductionError implements Error {
 final String name;
 RedefinedProductionError(this.name);
 String toString() => 'Redefined production: $name';
}

Implements

Error

Constructors

new RedefinedProductionError(String name) #

RedefinedProductionError(this.name);

Properties

final String name #

final String name

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => 'Redefined production: $name';