MCPcopy Index your code
hub / github.com/nodejs/node / _PreprocessorInfo

Class _PreprocessorInfo

tools/cpplint.py:3261–3272  ·  view source on GitHub ↗

Stores checkpoints of nesting stacks when #if/#else is seen.

Source from the content-addressed store, hash-verified

3259
3260
3261class _PreprocessorInfo:
3262 """Stores checkpoints of nesting stacks when #if/#else is seen."""
3263
3264 def __init__(self, stack_before_if):
3265 # The entire nesting stack before #if
3266 self.stack_before_if = stack_before_if
3267
3268 # The entire nesting stack up to #else
3269 self.stack_before_else = []
3270
3271 # Whether we have already seen #else or #elif
3272 self.seen_else = False
3273
3274
3275class NestingState:

Callers 1

UpdatePreprocessorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…