MCPcopy Create free account
hub / github.com/apache/mesos / _PreprocessorInfo

Class _PreprocessorInfo

support/cpplint.py:2397–2408  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2395
2396
2397class _PreprocessorInfo(object):
2398 """Stores checkpoints of nesting stacks when #if/#else is seen."""
2399
2400 def __init__(self, stack_before_if):
2401 # The entire nesting stack before #if
2402 self.stack_before_if = stack_before_if
2403
2404 # The entire nesting stack up to #else
2405 self.stack_before_else = []
2406
2407 # Whether we have already seen #else or #elif
2408 self.seen_else = False
2409
2410
2411class NestingState(object):

Callers 1

UpdatePreprocessorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected