Home | History | Annotate | Download | only in Format

Lines Matching refs:Parser

16 #define DEBUG_TYPE "format-parser"
123 ScopedLineState(UnwrappedLineParser &Parser,
125 : Parser(Parser), SwitchToPreprocessorLines(SwitchToPreprocessorLines) {
127 Parser.CurrentLines = &Parser.PreprocessorDirectives;
128 PreBlockLine = Parser.Line.take();
129 Parser.Line.reset(new UnwrappedLine());
130 Parser.Line->Level = PreBlockLine->Level;
131 Parser.Line->InPPDirective = PreBlockLine->InPPDirective;
135 if (!Parser.Line->Tokens.empty()) {
136 Parser.addUnwrappedLine();
138 assert(Parser.Line->Tokens.empty());
139 Parser.Line.reset(PreBlockLine);
140 Parser.MustBreakBeforeNextToken = true;
142 Parser.CurrentLines = &Parser.Lines;
146 UnwrappedLineParser &Parser;
658 // FIXME: Once we have an expression parser in the UnwrappedLineParser,
663 // might be to just implement a more or less complete expression parser.