childNodes property
All direct children of this node.
Implementation
@override
Iterable<AstNode> get childNodes {
if (offsetSeparator?.type == TokenType.offset) {
// Amount first, then offset
return [count, offset!];
}
// If using a comma, the count is followed by an optional offset
return [count, if (offset != null) offset!];
}