Home | History | Annotate | Download | only in Format

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
123 ScopedLineState(UnwrappedLineParser &Parser,
149 UnwrappedLineParser &Parser;
157 CompoundStatementIndenter(UnwrappedLineParser *Parser,
205 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style,
213 void UnwrappedLineParser::reset() {
226 bool UnwrappedLineParser::parse() {
262 void UnwrappedLineParser::parseFile() {
272 void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
308 void UnwrappedLineParser::calculateBraceTypes() {
396 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel,
438 void UnwrappedLineParser::parseChildBlock() {
454 void UnwrappedLineParser::parsePPDirective() {
490 void UnwrappedLineParser::conditionalCompilationCondition(bool Unreachable) {
497 void UnwrappedLineParser::conditionalCompilationStart(bool Unreachable) {
509 void UnwrappedLineParser::conditionalCompilationAlternative() {
520 void UnwrappedLineParser::conditionalCompilationEnd() {
536 void UnwrappedLineParser::parsePPIf(bool IfDef) {
546 void UnwrappedLineParser::parsePPElse() {
551 void UnwrappedLineParser::parsePPElIf() { parsePPElse(); }
553 void UnwrappedLineParser::parsePPEndIf() {
558 void UnwrappedLineParser::parsePPDefine() {
582 void UnwrappedLineParser::parsePPUnknown() {
618 void UnwrappedLineParser::parseStructuralElement() {
819 bool UnwrappedLineParser::tryToParseLambda() {
865 bool UnwrappedLineParser::tryToParseLambdaIntroducer() {
911 void UnwrappedLineParser::tryToParseJSFunction() {
932 bool UnwrappedLineParser::tryToParseBracedList() {
942 bool UnwrappedLineParser::parseBracedList(bool ContinueOnSemicolons) {
946 // FIXME: Once we have an expression parser in the UnwrappedLineParser,
990 void UnwrappedLineParser::parseParens() {
1025 void UnwrappedLineParser::parseSquare() {
1061 void UnwrappedLineParser::parseIfThenElse() {
1101 void UnwrappedLineParser::parseTryCatch() {
1167 void UnwrappedLineParser::parseNamespace() {
1191 void UnwrappedLineParser::parseForOrWhileLoop() {
1210 void UnwrappedLineParser::parseDoWhile() {
1235 void UnwrappedLineParser::parseLabel() {
1258 void UnwrappedLineParser::parseCaseLabel() {
1267 void UnwrappedLineParser::parseSwitch() {
1284 void UnwrappedLineParser::parseAccessSpecifier() {
1296 void UnwrappedLineParser::parseEnum() {
1328 void UnwrappedLineParser::parseRecord() {
1378 void UnwrappedLineParser::parseObjCProtocolList() {
1386 void UnwrappedLineParser::parseObjCUntilAtEnd() {
1407 void UnwrappedLineParser::parseObjCInterfaceOrImplementation() {
1436 void UnwrappedLineParser::parseObjCProtocol() {
1476 void UnwrappedLineParser::addUnwrappedLine() {
1496 bool UnwrappedLineParser::eof() const { return FormatTok->Tok.is(tok::eof); }
1498 bool UnwrappedLineParser::isOnNewLine(const FormatToken &FormatTok) {
1503 void UnwrappedLineParser::flushComments(bool NewlineBeforeNext) {
1520 void UnwrappedLineParser::nextToken() {
1528 void UnwrappedLineParser::readToken() {
1578 void UnwrappedLineParser::pushToken(FormatToken *Tok) {