Symbol constructor

Symbol(
  1. String s,
  2. AnyStringParser ws
)

Implementation

Symbol(this.s, this.ws) : _res = Tuple1(s) {
  final label = printableString(s);
  error = ParseError.expected(label);
}