|
clang 22.0.0git
|
Interface for users of the UnwrappedLineParser to receive the parsed lines. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/UnwrappedLineParser.h"
Public Member Functions | |
| virtual | ~UnwrappedLineConsumer () |
| virtual void | consumeUnwrappedLine (const UnwrappedLine &Line)=0 |
| virtual void | finishRun ()=0 |
Interface for users of the UnwrappedLineParser to receive the parsed lines.
Parsing a single snippet of code can lead to multiple runs, where each run is a coherent view of the file.
For example, different runs are generated:
Some tokens will only be visible in a subset of the runs. For each run, UnwrappedLineParser will call consumeUnwrappedLine for each parsed unwrapped line, and then finishRun to indicate that the set of unwrapped lines before is one coherent view of the code snippet to be formatted.
Definition at line 92 of file UnwrappedLineParser.h.
|
inlinevirtual |
Definition at line 94 of file UnwrappedLineParser.h.
|
pure virtual |
Implemented in clang::format::TokenAnalyzer.
References clang::Line.
|
pure virtual |
Implemented in clang::format::TokenAnalyzer.