Home
last modified time | relevance | path

Searched refs:Alternation (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/regex-syntax/src/hir/
Dvisitor.rs90 Alternation { enumerator
133 if let Frame::Alternation { .. } = x { in visit()
157 HirKind::Alternation(ref x) if x.is_empty() => None, in induct()
158 HirKind::Alternation(ref x) => { in induct()
159 Some(Frame::Alternation { head: &x[0], tail: &x[1..] }) in induct()
178 Frame::Alternation { tail, .. } => { in pop()
182 Some(Frame::Alternation { in pop()
200 Frame::Alternation { head, .. } => head, in child()
Dprint.rs91 | HirKind::Alternation(_) => {} in visit_pre()
172 | HirKind::Alternation(_) => {} in visit_post()
Dmod.rs214 Alternation(Vec<Hir>), enumerator
541 Hir { kind: HirKind::Alternation(exprs), info: info } in alternation()
718 | HirKind::Alternation(_) => true, in has_subexprs()
1443 HirKind::Alternation(ref x) if x.is_empty() => return, in drop()
1464 HirKind::Alternation(ref mut x) => { in drop()
2276 kind: HirKind::Alternation(vec![expr]), in no_stack_overflow_on_drop()
Dtranslate.rs183 Alternation, enumerator
266 Ast::Alternation(ref x) if x.asts.is_empty() => {} in visit_pre()
267 Ast::Alternation(_) => { in visit_pre()
268 self.push(HirFrame::Alternation); in visit_pre()
371 Ast::Alternation(_) => { in visit_post()
/external/rust/crates/regex-syntax/src/ast/
Dvisitor.rs154 Alternation { enumerator
237 if let Frame::Alternation { .. } = x { in visit()
272 Ast::Alternation(ref x) if x.asts.is_empty() => None, in induct()
273 Ast::Alternation(ref x) => Some(Frame::Alternation { in induct()
294 Frame::Alternation { tail, .. } => { in pop()
298 Some(Frame::Alternation { in pop()
445 Frame::Alternation { head, .. } => head, in child()
Dmod.rs488 Alternation(Alternation), enumerator
505 Ast::Alternation(ref x) => &x.span, in span()
530 | Ast::Alternation(_) in has_subexprs()
553 pub struct Alternation { struct
560 impl Alternation { argument
570 _ => Ast::Alternation(self), in into_ast()
1373 Ast::Alternation(ref x) if x.asts.is_empty() => return, in drop()
1396 Ast::Alternation(ref mut x) => { in drop()
Dparse.rs294 Alternation(ast::Alternation), enumerator
662 if let Some(&mut Alternation(ref mut alts)) = stack.last_mut() { in push_or_add_alternation()
666 stack.push(Alternation(ast::Alternation { in push_or_add_alternation()
738 Some(Alternation(alt)) => match stack.pop() { in pop_group()
742 None | Some(Alternation(_)) => { in pop_group()
784 Some(GroupState::Alternation(mut alt)) => { in pop_group_end()
787 Ok(Ast::Alternation(alt)) in pop_group_end()
798 Some(GroupState::Alternation(_)) => { in pop_group_end()
2205 Ast::Alternation(ref x) => &x.span, in visit_pre()
2226 | Ast::Alternation(_) in visit_post()
[all …]
Dprint.rs104 Ast::Alternation(_) => Ok(()), in visit_post()
/external/cldr/tools/java/org/unicode/cldr/util/
DPick.java89 static public Pick.Alternation makeAlternation() { in makeAlternation()
90 return new Alternation(); in makeAlternation()
209 public static class Alternation extends ListPick { class in Pick
212 public Alternation or2(Pick[] newItems) { in or2()
216 public Alternation or2(int itemWeight, Pick item) { in or2()
220 public Alternation or2(int itemWeight, Pick[] newItems) { in or2()
226 public Alternation or2(int[] itemWeights, Pick[] newItems) { in or2()
255 private Alternation() { in Alternation() method in Pick.Alternation
DBNF.java269 Pick.Alternation result = null; in getAlternation()
/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs650 HirKind::Alternation(ref es) => { in prefixes()
726 HirKind::Alternation(ref es) => { in suffixes()
/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs419 HirKind::Alternation(ref exprs) => { in c()
/external/rust/crates/regex/src/
Dcompile.rs365 Alternation(ref es) => self.c_alternate(&**es), in c()
Dexec.rs1567 HirKind::Alternation(ref alts) => alts, in alternation_literals()
/external/python/cpython2/Doc/howto/
Dregex.rst676 Alternation, or the "or" operator. If A and B are regular expressions,
/external/python/cpython3/Doc/howto/
Dregex.rst696 Alternation, or the "or" operator. If *A* and *B* are regular expressions,