MCPcopy Create free account
hub / github.com/tensorflow/tfjs / Begin

Method Begin

tfjs-backend-wasm/tools/cpplint.py:1044–1052  ·  view source on GitHub ↗

Start analyzing function body. Args: function_name: The name of the function being tracked.

(self, function_name)

Source from the content-addressed store, hash-verified

1042 self.current_function = ''
1043
1044 def Begin(self, function_name):
1045 """Start analyzing function body.
1046
1047 Args:
1048 function_name: The name of the function being tracked.
1049 """
1050 self.in_a_function = True
1051 self.lines_in_function = 0
1052 self.current_function = function_name
1053
1054 def Count(self):
1055 """Count line in current function body."""

Callers 1

CheckForFunctionLengthsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected