Lines Matching defs:empty
248 /// A stack of nested character classes. This is only non-empty when
285 /// The group that has been opened. Its sub-AST is always empty.
301 /// Note that a parser's character class stack is only non-empty when parsing
302 /// a character class. In all other cases, it is empty.
635 /// The concatenation returned starts the next branch and is empty.
836 /// If the stack is empty after popping, then this returns the final
854 // We can never observe an empty stack:
856 // 1) We are guaranteed to start with a non-empty stack since
859 // 2) If we ever observe an empty stack while popping after
862 panic!("unexpected empty character class stack")
898 // We are guaranteed to have a non-empty stack with at least
1169 /// If a group was found, then it is returned with an empty AST. If a set
1216 // We don't allow empty flags, e.g., `(?)`. We instead
1876 /// empty union. This empty union should be replaced with the actual item
1924 // `]`. That is, an empty class is impossible to write.
4728 fn empty(span: Span) -> ast::ClassSetItem {
5084 itemset(empty(span(1..1))),
5085 itemset(empty(span(3..3))),
5087 itemset(empty(span(5..5))),