Lines Matching defs:UnwrappedLineParser

1 //===--- UnwrappedLineParser.cpp - Format C++ code ------------------------===//
11 /// \brief This file contains the implementation of the UnwrappedLineParser,
16 #include "UnwrappedLineParser.h"
78 // The \c UnwrappedLineParser guards against this by never calling
121 ScopedLineState(UnwrappedLineParser &Parser,
146 UnwrappedLineParser &Parser;
154 CompoundStatementIndenter(UnwrappedLineParser *Parser,
200 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style,
208 void UnwrappedLineParser::reset() {
220 void UnwrappedLineParser::parse() {
254 void UnwrappedLineParser::parseFile() {
267 void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
311 void UnwrappedLineParser::calculateBraceTypes(bool ExpectClassBody) {
410 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel,
479 void UnwrappedLineParser::parseChildBlock() {
496 void UnwrappedLineParser::parsePPDirective() {
532 void UnwrappedLineParser::conditionalCompilationCondition(bool Unreachable) {
539 void UnwrappedLineParser::conditionalCompilationStart(bool Unreachable) {
551 void UnwrappedLineParser::conditionalCompilationAlternative() {
562 void UnwrappedLineParser::conditionalCompilationEnd() {
578 void UnwrappedLineParser::parsePPIf(bool IfDef) {
589 void UnwrappedLineParser::parsePPElse() {
594 void UnwrappedLineParser::parsePPElIf() { parsePPElse(); }
596 void UnwrappedLineParser::parsePPEndIf() {
601 void UnwrappedLineParser::parsePPDefine() {
625 void UnwrappedLineParser::parsePPUnknown() {
661 void UnwrappedLineParser::parseStructuralElement() {
995 bool UnwrappedLineParser::tryToParseLambda() {
1049 bool UnwrappedLineParser::tryToParseLambdaIntroducer() {
1095 void UnwrappedLineParser::tryToParseJSFunction() {
1124 bool UnwrappedLineParser::tryToParseBracedList() {
1134 bool UnwrappedLineParser::parseBracedList(bool ContinueOnSemicolons) {
1138 // FIXME: Once we have an expression parser in the UnwrappedLineParser,
1210 void UnwrappedLineParser::parseParens() {
1252 void UnwrappedLineParser::parseSquare() {
1287 void UnwrappedLineParser::parseIfThenElse() {
1325 void UnwrappedLineParser::parseTryCatch() {
1394 void UnwrappedLineParser::parseNamespace() {
1418 void UnwrappedLineParser::parseNew() {
1443 void UnwrappedLineParser::parseForOrWhileLoop() {
1461 void UnwrappedLineParser::parseDoWhile() {
1486 void UnwrappedLineParser::parseLabel() {
1508 void UnwrappedLineParser::parseCaseLabel() {
1517 void UnwrappedLineParser::parseSwitch() {
1534 void UnwrappedLineParser::parseAccessSpecifier() {
1545 bool UnwrappedLineParser::parseEnum() {
1606 void UnwrappedLineParser::parseJavaEnumBody() {
1668 void UnwrappedLineParser::parseRecord() {
1723 void UnwrappedLineParser::parseObjCProtocolList() {
1731 void UnwrappedLineParser::parseObjCUntilAtEnd() {
1752 void UnwrappedLineParser::parseObjCInterfaceOrImplementation() {
1780 void UnwrappedLineParser::parseObjCProtocol() {
1797 void UnwrappedLineParser::parseJavaScriptEs6ImportExport() {
1854 void UnwrappedLineParser::addUnwrappedLine() {
1871 bool UnwrappedLineParser::eof() const { return FormatTok->Tok.is(tok::eof); }
1873 bool UnwrappedLineParser::isOnNewLine(const FormatToken &FormatTok) {
1878 void UnwrappedLineParser::flushComments(bool NewlineBeforeNext) {
1893 void UnwrappedLineParser::nextToken() {
1901 const FormatToken *UnwrappedLineParser::getPreviousToken() {
1909 void UnwrappedLineParser::readToken() {
1958 void UnwrappedLineParser::pushToken(FormatToken *Tok) {