allow for continuous calls + inline functions
ignore commas when determining depth