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,
18 #include "UnwrappedLineParser.h"
78 // The \c UnwrappedLineParser guards against this by never calling
123 ScopedLineState(UnwrappedLineParser &Parser,
146 UnwrappedLineParser &Parser;
181 UnwrappedLineParser::UnwrappedLineParser(const FormatStyle &Style,
188 bool UnwrappedLineParser::parse() {
205 void UnwrappedLineParser::parseFile() {
215 void UnwrappedLineParser::parseLevel(bool HasOpeningBrace) {
250 void UnwrappedLineParser::calculateBraceTypes() {
322 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel) {
345 void UnwrappedLineParser::parsePPDirective() {
381 void UnwrappedLineParser::pushPPConditional() {
388 void UnwrappedLineParser::parsePPIf() {
401 void UnwrappedLineParser::parsePPIfdef() {
406 void UnwrappedLineParser::parsePPElse() {
413 void UnwrappedLineParser::parsePPElIf() { parsePPElse(); }
415 void UnwrappedLineParser::parsePPEndIf() {
421 void UnwrappedLineParser::parsePPDefine() {
445 void UnwrappedLineParser::parsePPUnknown() {
479 void UnwrappedLineParser::parseStructuralElement() {
645 bool UnwrappedLineParser::tryToParseBracedList() {
655 void UnwrappedLineParser::parseBracedList() {
658 // FIXME: Once we have an expression parser in the UnwrappedLineParser,
684 void UnwrappedLineParser::parseReturn() {
715 void UnwrappedLineParser::parseParens() {
756 void UnwrappedLineParser::parseIfThenElse() {
796 void UnwrappedLineParser::parseNamespace() {
819 void UnwrappedLineParser::parseForOrWhileLoop() {
838 void UnwrappedLineParser::parseDoWhile() {
862 void UnwrappedLineParser::parseLabel() {
884 void UnwrappedLineParser::parseCaseLabel() {
893 void UnwrappedLineParser::parseSwitch() {
911 void UnwrappedLineParser::parseAccessSpecifier() {
919 void UnwrappedLineParser::parseEnum() {
963 void UnwrappedLineParser::parseRecord() {
1010 void UnwrappedLineParser::parseObjCProtocolList() {
1018 void UnwrappedLineParser::parseObjCUntilAtEnd() {
1029 void UnwrappedLineParser::parseObjCInterfaceOrImplementation() {
1055 void UnwrappedLineParser::parseObjCProtocol() {
1072 void UnwrappedLineParser::addUnwrappedLine() {
1098 bool UnwrappedLineParser::eof() const { return FormatTok->Tok.is(tok::eof); }
1100 void UnwrappedLineParser::flushComments(bool NewlineBeforeNext) {
1117 void UnwrappedLineParser::nextToken() {
1125 void UnwrappedLineParser::readToken() {
1161 void UnwrappedLineParser::pushToken(FormatToken *Tok) {