MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / SeenOpenBrace

Method SeenOpenBrace

steps/cpplint.py:2937–2944  ·  view source on GitHub ↗

Check if we have seen the opening brace for the innermost block. Returns: True if we have seen the opening brace, False if the innermost block is still expecting an opening brace.

(self)

Source from the content-addressed store, hash-verified

2935 self.pp_stack = []
2936
2937 def SeenOpenBrace(self):
2938 """Check if we have seen the opening brace for the innermost block.
2939
2940 Returns:
2941 True if we have seen the opening brace, False if the innermost
2942 block is still expecting an opening brace.
2943 """
2944 return (not self.stack) or self.stack[-1].seen_open_brace
2945
2946 def InNamespaceBody(self):
2947 """Check if we are currently one level inside a namespace body.

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected