MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / resetEndOfStatement

Method resetEndOfStatement

astyle/src/ASFormatter.cpp:6416–6439  ·  view source on GitHub ↗

Reset the flags that indicate various statement information.

Source from the content-addressed store, hash-verified

6414
6415// Reset the flags that indicate various statement information.
6416void ASFormatter::resetEndOfStatement()
6417{
6418 foundQuestionMark = false;
6419 foundNamespaceHeader = false;
6420 foundClassHeader = false;
6421 foundStructHeader = false;
6422 foundInterfaceHeader = false;
6423 foundPreDefinitionHeader = false;
6424 foundPreCommandHeader = false;
6425 foundPreCommandMacro = false;
6426 foundCastOperator = false;
6427 isInPotentialCalculation = false;
6428 isSharpAccessor = false;
6429 isSharpDelegate = false;
6430 isInObjCMethodDefinition = false;
6431 isInObjCInterface = false;
6432 isInObjCSelector = false;
6433 isInEnum = false;
6434 isInExternC = false;
6435 elseHeaderFollowsComments = false;
6436 nonInStatementBracket = 0;
6437 while (!questionMarkStack->empty())
6438 questionMarkStack->pop_back();
6439}
6440
6441// pad an Objective-C method colon
6442void ASFormatter::padObjCMethodColon()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected