bracketsIndexLexer top-level property
identifies bracketsIndexs
Implementation
final Parser<BracketsIndexParser> bracketsIndexLexer =
(char('[') & digit().plus() & char(']')).map((value) {
return BracketsIndexParser(int.parse(value[1].join('')));
});