getParser method

Parser getParser (Symbol symbol)

Get a parser with symbol as its associated symbol.

Returns null if none exist.

Implementation

static Parser getParser(Symbol symbol) {
  if (hasParser(symbol, allowQueued: false)) {
    return parsers[symbol];
  }
  return null;
}