Searched refs:UnwrappedLine (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Format/ |
D | UnwrappedLineParser.h | 36 struct UnwrappedLine { struct 37 UnwrappedLine(); 55 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0; argument 134 std::unique_ptr<UnwrappedLine> Line; 145 SmallVector<UnwrappedLine, 8> Lines; 150 SmallVector<UnwrappedLine, 4> PreprocessorDirectives; 156 SmallVectorImpl<UnwrappedLine> *CurrentLines; 213 SmallVector<UnwrappedLine, 0> Children; 216 inline UnwrappedLine::UnwrappedLine() in UnwrappedLine() function
|
D | TokenAnalyzer.h | 92 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override; 101 SmallVector<SmallVector<UnwrappedLine, 16>, 2> UnwrappedLines;
|
D | TokenAnalyzer.cpp | 128 void TokenAnalyzer::consumeUnwrappedLine(const UnwrappedLine &TheLine) { in consumeUnwrappedLine() 134 UnwrappedLines.push_back(SmallVector<UnwrappedLine, 16>()); in finishRun()
|
D | UnwrappedLineParser.cpp | 39 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, in ScopedDeclarationState() 54 UnwrappedLine &Line; 60 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, in ScopedMacroState() 108 UnwrappedLine &Line; 129 Parser.Line = llvm::make_unique<UnwrappedLine>(); in ScopedLineState() 148 std::unique_ptr<UnwrappedLine> PreBlockLine; 149 SmallVectorImpl<UnwrappedLine> *OriginalLines; 204 : Line(new UnwrappedLine), MustBreakBeforeNextToken(false), in UnwrappedLineParser() 210 Line.reset(new UnwrappedLine); in reset() 234 for (SmallVectorImpl<UnwrappedLine>::iterator I = Lines.begin(), in parse() [all …]
|
D | TokenAnnotator.h | 41 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine()
|
/external/yapf/yapftests/ |
D | unwrapped_line_test.py | 33 uwl = unwrapped_line.UnwrappedLine(20, toks) 40 uwl = unwrapped_line.UnwrappedLine(20, toks) 48 uwl = unwrapped_line.UnwrappedLine(2, toks) 52 uwl = unwrapped_line.UnwrappedLine(0) 58 uwl = unwrapped_line.UnwrappedLine(0)
|
D | format_decision_state_test.py | 39 uwline = unwrapped_line.UnwrappedLine(0, _FilterLine(uwlines[0])) 93 uwline = unwrapped_line.UnwrappedLine(0, _FilterLine(uwlines[0]))
|
/external/yapf/yapf/yapflib/ |
D | unwrapped_line.py | 29 class UnwrappedLine(object): class 94 uwline = UnwrappedLine(self.depth) 98 uwline = UnwrappedLine(self.depth)
|
D | pytree_unwrapper.py | 85 self._cur_unwrapped_line = unwrapped_line.UnwrappedLine(0) 112 self._cur_unwrapped_line = unwrapped_line.UnwrappedLine(self._cur_depth)
|
/external/yapf/ |
D | README.rst | 656 The main data structure in YAPF is the ``UnwrappedLine`` object. It holds a list 660 formatter works on one ``UnwrappedLine`` object at a time. 662 An ``UnwrappedLine`` typically won't affect the formatting of lines before or 664 ``UnwrappedLine``\s into one line. For instance, an if-then statement with a
|