Searched refs:LineState (Results 1 – 16 of 16) sorted by relevance
33 struct LineState;65 LineState getInitialState(unsigned FirstIndent, unsigned FirstStartColumn,71 bool canBreak(const LineState &State);74 bool mustBreak(const LineState &State);84 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,89 unsigned getColumnLimit(const LineState &State) const;94 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);97 void moveStatePastFakeLParens(LineState &State, bool Newline);99 void moveStatePastFakeRParens(LineState &State);102 void moveStatePastScopeOpener(LineState &State, bool Newline);[all …]
235 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState()239 LineState State; in getInitialState()277 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak()329 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak()525 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState()562 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine()756 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine()962 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) { in getNewLineColumn()1174 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken()1322 void ContinuationIndenter::moveStatePastFakeLParens(LineState &State, in moveStatePastFakeLParens()[all …]
720 static void printLineState(const LineState &State) { in printLineState()767 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren()844 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine()870 LineState State = in formatLine()894 LineState State = in formatLine()908 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()()923 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()925 LineState State;947 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace()948 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace()[all …]
231 virtual void updateNextToken(LineState &State) const {} in updateNextToken()456 void updateNextToken(LineState &State) const override;
76 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken()135 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
732 struct LineState;749 virtual unsigned formatFromToken(LineState &State, in formatFromToken()757 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken()779 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,782 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
982 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
706 ScopedLineState LineState(*this); in parseChildBlock() local
31 struct LineState;48 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,54 bool canBreak(const LineState &State);57 bool mustBreak(const LineState &State);67 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,72 unsigned getColumnLimit(const LineState &State) const;77 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);80 void moveStatePastFakeLParens(LineState &State, bool Newline);82 void moveStatePastFakeRParens(LineState &State);85 void moveStatePastScopeOpener(LineState &State, bool Newline);[all …]
462 static void printLineState(const LineState &State) { in printLineState()509 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren()585 LineState State = in formatLine()611 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in formatLine()633 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in formatLine()646 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()()661 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()663 LineState State;684 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace()685 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace()[all …]
76 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState()79 LineState State; in getInitialState()98 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak()142 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak()277 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState()312 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine()439 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine()596 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) { in getNewLineColumn()708 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken()825 void ContinuationIndenter::moveStatePastFakeLParens(LineState &State, in moveStatePastFakeLParens()[all …]
477 struct LineState;494 virtual unsigned formatFromToken(LineState &State, in formatFromToken()502 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken()522 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,525 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
75 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken()130 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
490 ScopedLineState LineState(*this); in parseChildBlock() local
324 struct LineState struct328 LineState (void) in LineState() function392 LineState line;
META-INF/ META-INF/MANIFEST.MF META-INF/kotlin-scripting- ...