OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FormatToken
(Results
1 - 11
of
11
) sorted by null
/external/clang/lib/Format/
TokenAnnotator.h
47
FormatToken
*Current = First;
48
for (std::list<
FormatToken
*>::const_iterator I = ++Line.Tokens.begin(),
58
FormatToken
*First;
59
FormatToken
*Last;
81
unsigned splitPenalty(const AnnotatedLine &Line, const
FormatToken
&Tok);
83
bool spaceRequiredBetween(const AnnotatedLine &Line, const
FormatToken
&Left,
84
const
FormatToken
&Right);
86
bool spaceRequiredBefore(const AnnotatedLine &Line, const
FormatToken
&Tok);
88
bool canBreakBefore(const AnnotatedLine &Line, const
FormatToken
&Right);
UnwrappedLineParser.h
21
#include "
FormatToken
.h"
38
std::list<
FormatToken
*> Tokens;
59
UnwrappedLineParser(const FormatStyle &Style, ArrayRef<
FormatToken
*> Tokens,
101
void pushToken(
FormatToken
*Tok);
114
SmallVector<
FormatToken
*, 1> CommentsBeforeNextToken;
115
FormatToken
*FormatTok;
147
ArrayRef<
FormatToken
*> AllTokens;
BreakableToken.h
69
BreakableToken(const
FormatToken
&Tok, bool InPPDirective,
73
const
FormatToken
&Tok;
89
BreakableSingleLineToken(const
FormatToken
&Tok, unsigned StartColumn,
109
BreakableStringLiteral(const
FormatToken
&Tok, unsigned StartColumn,
124
BreakableLineComment(const
FormatToken
&Token, unsigned StartColumn,
147
BreakableBlockComment(const FormatStyle &Style, const
FormatToken
&Token,
FormatToken.h
1
//===---
FormatToken
.h - Format C++ code ------------------------*- C++ -*-===//
11
/// \brief This file contains the declaration of the
FormatToken
, a wrapper
77
struct
FormatToken
{
78
FormatToken
()
277
FormatToken
*getPreviousNonComment() const {
278
FormatToken
*Tok = Previous;
285
const
FormatToken
*getNextNonComment() const {
286
const
FormatToken
*Tok = Next;
292
FormatToken
*MatchingParen;
294
FormatToken
*Previous
[
all
...]
WhitespaceManager.h
45
void replaceWhitespace(const
FormatToken
&Tok, unsigned Newlines,
53
void addUntouchableToken(const
FormatToken
&Tok, bool InPPDirective);
63
void replaceWhitespaceInToken(const
FormatToken
&Tok, unsigned Offset,
105
//
FormatToken
around to query its information.
TokenAnnotator.cpp
43
FormatToken
*Left = CurrentToken->Previous;
84
FormatToken
*Left = CurrentToken->Previous;
88
} else if (
FormatToken
*MaybeSel = Left->Previous) {
113
FormatToken
*Prev = CurrentToken->getPreviousNonComment();
115
FormatToken
*PrevPrev = Prev->getPreviousNonComment();
116
FormatToken
*Next = CurrentToken->Next;
179
FormatToken
*Left = CurrentToken->Previous;
180
FormatToken
*Parent = Left->getPreviousNonComment();
237
FormatToken
*Left = CurrentToken->Previous;
239
FormatToken
*Parent = Left->getPreviousNonComment()
[
all
...]
UnwrappedLineParser.cpp
27
virtual
FormatToken
*getNextToken() = 0;
30
virtual
FormatToken
*setPosition(unsigned Position) = 0;
59
FormatToken
*&ResetToken, bool &StructuralError)
77
virtual
FormatToken
*getNextToken() {
89
virtual
FormatToken
*setPosition(unsigned Position) {
97
FormatToken
*getFakeEOF() {
99
static
FormatToken
FormatTok;
110
FormatToken
*&ResetToken;
116
FormatToken
*Token;
156
IndexedTokenSource(ArrayRef<
FormatToken
*> Tokens
[
all
...]
Format.cpp
301
static unsigned getLengthToMatchingParen(const
FormatToken
&Tok) {
304
FormatToken
*End = Tok.MatchingParen;
317
const
FormatToken
*RootToken,
371
void DebugTokenState(const
FormatToken
&FormatTok) {
497
const
FormatToken
*NextToken;
576
const
FormatToken
&Current = *State.NextToken;
577
const
FormatToken
&Previous = *State.NextToken->Previous;
688
const
FormatToken
*TokenBefore = Current.getPreviousNonComment();
718
const
FormatToken
*Tok = &Previous;
781
const
FormatToken
*Next = Previous.MatchingParen->getNextNonComment()
[
all
...]
WhitespaceManager.cpp
41
void WhitespaceManager::replaceWhitespace(const
FormatToken
&Tok,
50
void WhitespaceManager::addUntouchableToken(const
FormatToken
&Tok,
60
const
FormatToken
&Tok, unsigned Offset, unsigned ReplaceChars,
BreakableToken.cpp
138
const
FormatToken
&Tok, unsigned StartColumn, StringRef Prefix,
147
BreakableStringLiteral::BreakableStringLiteral(const
FormatToken
&Tok,
177
BreakableLineComment::BreakableLineComment(const
FormatToken
&Token,
219
const FormatStyle &Style, const
FormatToken
&Token, unsigned StartColumn,
/libcore/luni/src/main/java/java/util/
Formatter.java
553
private
FormatToken
formatToken
;
[
all
...]
Completed in 62 milliseconds