visitCharacterClass method
Implementation
@override
Expression visitCharacterClass(CharacterClassExpression node) {
final list = <List<int>>[];
for (final group in node.ranges.groups) {
list.add([group.start, group.end]);
}
return CharacterClassExpression(list);
}