Lines Matching defs:anchor
194 /// An anchor assertion. An anchor assertion match always has zero length.
291 /// Creates an anchor assertion HIR expression.
292 pub fn anchor(anchor: Anchor) -> Hir {
305 if let Anchor::StartText = anchor {
310 if let Anchor::EndText = anchor {
315 if let Anchor::StartLine = anchor {
318 if let Anchor::EndLine = anchor {
321 Hir { kind: HirKind::Anchor(anchor), info }
455 // Similarly for the end anchor, but in reverse.
1281 /// The high-level intermediate representation for an anchor assertion.
1283 /// A matching anchor assertion is always zero-length.