def FunctionDepth(self):
    return len(self._function_stack)
Returns the number of functions in which the token is nested.
dataset/ETHPy150Open google/closure-linter/closure_linter/statetracker.py/StateTracker.FunctionDepth