HomeSort by relevance Sort by last modified time
    Searched defs:ParenState (Results 1 - 2 of 2) sorted by null

  /external/clang/lib/Format/
ContinuationIndenter.h 31 struct ParenState;
144 struct ParenState {
145 ParenState(unsigned Indent, unsigned IndentLevel, unsigned LastSpace,
225 /// \brief \c true if this \c ParenState already contains a line-break.
227 /// The first line break in a certain \c ParenState causes extra penalty so
232 /// \brief \c true if this \c ParenState contains multiple segments of a
260 bool operator<(const ParenState &Other) const {
324 std::vector<ParenState> Stack;
334 /// ParenState stack (in an otherwise identical state) and these different
  /external/openfst/src/include/fst/extensions/pdt/
paren.h 43 // ParenState: Pair of an open (close) parenthesis and
48 class ParenState {
54 size_t operator()(const ParenState<A> &p) const {
62 ParenState() : paren_id(kNoLabel), state_id(kNoStateId) {}
64 ParenState(Label p, StateId s) : paren_id(p), state_id(s) {}
66 bool operator==(const ParenState<A> &p) const {
72 bool operator!=(const ParenState<A> &p) const { return !(p == *this); }
74 bool operator<(const ParenState<A> &p) const {
84 const size_t ParenState<A>::kPrime = 7853;
127 typedef unordered_map<ParenState<A>, ssize_t
    [all...]

Completed in 71 milliseconds