• Home
  • Raw
  • Download

Lines Matching full:punctuation

1 //! A punctuated sequence of syntax tree nodes separated by punctuation.
13 //! syntax tree node + punctuation, where every node in the sequence is followed
14 //! by punctuation except for possibly the final one.
41 /// punctuation of type `P`.**
61 /// contains no syntax tree nodes or punctuation.
68 /// This is the number of nodes of type `T`, not counting the punctuation of
143 /// sequence must already have a trailing punctuation, or be empty.
146 /// have trailing punctuation.
153 /// punctuation.
157 … "Punctuated::push_value: cannot push value if Punctuated is missing trailing punctuation", in push_value()
163 /// Appends a trailing punctuation onto the end of this punctuated sequence.
165 /// punctuation.
169 /// Panics if the sequence is empty or already has a trailing punctuation.
170 pub fn push_punct(&mut self, punctuation: P) { in push_punct()
173 …"Punctuated::push_punct: cannot push punctuation if Punctuated is empty or already has trailing pu… in push_punct()
177 self.inner.push((*last, punctuation)); in push_punct()
190 /// Removes the trailing punctuation from this punctuated sequence, or
203 /// punctuation.
209 /// punctuation.
218 /// If there is not a trailing punctuation in this sequence when this method
219 /// is called, the default value of punctuation type `P` is inserted before
253 /// Clears the sequence of all values and punctuation, making it empty.
259 /// Parses zero or more occurrences of `T` separated by punctuation of type
260 /// `P`, with optional trailing punctuation.
275 /// separated by punctuation of type `P`, with optional trailing
276 /// punctuation.
309 /// Parses one or more occurrences of `T` separated by punctuation of type
310 /// `P`, not accepting trailing punctuation.
312 /// Parsing continues as long as punctuation `P` is present at the head of
327 /// separated by punctuation of type `P`, not accepting trailing
328 /// punctuation.
921 /// A single syntax tree node of type `T` followed by its trailing punctuation
934 /// following punctuation.
955 /// Borrows the punctuation from this punctuated pair, unless this pair is
956 /// the final one and there is no trailing punctuation.
964 /// Mutably borrows the punctuation from this punctuated pair, unless the
965 /// pair is the final one and there is no trailing punctuation.
990 /// following punctuation.
999 /// optional following punctuation.