Home
last modified time | relevance | path

Searched refs:ClassSet (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/regex/regex-syntax/src/ast/
Dmod.rs912 pub kind: ClassSet,
922 pub enum ClassSet { enum
930 impl ClassSet { implementation
932 pub fn union(ast: ClassSetUnion) -> ClassSet { in union() argument
933 ClassSet::Item(ClassSetItem::Union(ast)) in union()
939 ClassSet::Item(ref x) => x.span(), in span()
940 ClassSet::BinaryOp(ref x) => &x.span, in span()
947 ClassSet::Item(ClassSetItem::Empty(_)) => true, in is_empty()
1069 pub lhs: Box<ClassSet>,
1071 pub rhs: Box<ClassSet>,
[all …]
Dvisitor.rs179 lhs: &'a ast::ClassSet,
180 rhs: &'a ast::ClassSet,
184 BinaryRHS { op: &'a ast::ClassSetBinaryOp, rhs: &'a ast::ClassSet },
387 ast::ClassSet::Item(ref item) => { in induct_class()
390 ast::ClassSet::BinaryOp(ref op) => { in induct_class()
470 fn from_set(ast: &'a ast::ClassSet) -> ClassInduct<'a> { in from_set()
472 ast::ClassSet::Item(ref item) => ClassInduct::Item(item), in from_set()
473 ast::ClassSet::BinaryOp(ref op) => ClassInduct::BinaryOp(op), in from_set()
Dparse.rs320 lhs: ast::ClassSet,
849 let item = ast::ClassSet::Item(nested_union.into_item()); in pop_class()
914 let item = ast::ClassSet::Item(next_union.into_item()); in push_class_op()
929 fn pop_class_op(&self, rhs: ast::ClassSet) -> ast::ClassSet { in pop_class_op() argument
940 ast::ClassSet::BinaryOp(ast::ClassSetBinaryOp { in pop_class_op()
1941 kind: ast::ClassSet::union(ast::ClassSetUnion { in parse_set_class_open()
2606 kind: ast::ClassSet::Item(ast::ClassSetItem::Literal( in parse_nest_limit()
4657 fn union(span: Span, items: Vec<ast::ClassSetItem>) -> ast::ClassSet { in parse_set_class() argument
4658 ast::ClassSet::union(ast::ClassSetUnion { span, items }) in parse_set_class()
4663 lhs: ast::ClassSet, in parse_set_class() argument
[all …]