Lines Matching refs:UnwrappedLineParser
1 //===--- UnwrappedLineParser.cpp - Format C++ code ------------------------===//
11 /// \brief This file contains the implementation of the UnwrappedLineParser,
16 #include "UnwrappedLineParser.h"
80 // The \c UnwrappedLineParser guards against this by never calling
125 ScopedLineState(UnwrappedLineParser &Parser,
150 UnwrappedLineParser &Parser;
158 CompoundStatementIndenter(UnwrappedLineParser *Parser,
206 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style,
215 void UnwrappedLineParser::reset() {
228 bool UnwrappedLineParser::parse() {
264 void UnwrappedLineParser::parseFile() {
274 void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
310 void UnwrappedLineParser::calculateBraceTypes() {
397 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel,
454 void UnwrappedLineParser::parseChildBlock() {
471 void UnwrappedLineParser::parsePPDirective() {
507 void UnwrappedLineParser::conditionalCompilationCondition(bool Unreachable) {
514 void UnwrappedLineParser::conditionalCompilationStart(bool Unreachable) {
526 void UnwrappedLineParser::conditionalCompilationAlternative() {
537 void UnwrappedLineParser::conditionalCompilationEnd() {
553 void UnwrappedLineParser::parsePPIf(bool IfDef) {
564 void UnwrappedLineParser::parsePPElse() {
569 void UnwrappedLineParser::parsePPElIf() { parsePPElse(); }
571 void UnwrappedLineParser::parsePPEndIf() {
576 void UnwrappedLineParser::parsePPDefine() {
600 void UnwrappedLineParser::parsePPUnknown() {
636 void UnwrappedLineParser::parseStructuralElement() {
886 bool UnwrappedLineParser::tryToParseLambda() {
937 bool UnwrappedLineParser::tryToParseLambdaIntroducer() {
983 void UnwrappedLineParser::tryToParseJSFunction() {
1004 bool UnwrappedLineParser::tryToParseBracedList() {
1014 bool UnwrappedLineParser::parseBracedList(bool ContinueOnSemicolons) {
1018 // FIXME: Once we have an expression parser in the UnwrappedLineParser,
1073 void UnwrappedLineParser::parseParens() {
1116 UnwrappedLineParser::parseSquare() {
1152 void UnwrappedLineParser::parseIfThenElse() {
1194 void UnwrappedLineParser::parseTryCatch() {
1272 void UnwrappedLineParser::parseNamespace() {
1296 void UnwrappedLineParser::parseNew() {
1321 void UnwrappedLineParser::parseForOrWhileLoop() {
1340 void UnwrappedLineParser::parseDoWhile() {
1365 void UnwrappedLineParser::parseLabel() {
1388 void UnwrappedLineParser::parseCaseLabel() {
1397 void UnwrappedLineParser::parseSwitch() {
1414 void UnwrappedLineParser::parseAccessSpecifier() {
1425 void UnwrappedLineParser::parseEnum() {
1468 void UnwrappedLineParser::parseJavaEnumBody() {
1530 void UnwrappedLineParser::parseRecord() {
1583 void UnwrappedLineParser::parseObjCProtocolList() {
1591 void UnwrappedLineParser::parseObjCUntilAtEnd() {
1612 void UnwrappedLineParser::parseObjCInterfaceOrImplementation() {
1641 void UnwrappedLineParser::parseObjCProtocol() {
1658 void UnwrappedLineParser::parseJavaScriptEs6ImportExport() {
1705 void UnwrappedLineParser::addUnwrappedLine() {
1725 bool UnwrappedLineParser::eof() const { return FormatTok->Tok.is(tok::eof); }
1727 bool UnwrappedLineParser::isOnNewLine(const FormatToken &FormatTok) {
1732 void UnwrappedLineParser::flushComments(bool NewlineBeforeNext) {
1749 void UnwrappedLineParser::nextToken() {
1757 void UnwrappedLineParser::readToken() {
1806 void UnwrappedLineParser::pushToken(FormatToken *Tok) {