Dart DocumentationpetitparserUndefinedProductionError

UndefinedProductionError class

Error raised when an undefined production is accessed.

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

Implements

Error

Constructors

new UndefinedProductionError(String name) #

UndefinedProductionError(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() => 'Undefined production: $name';