class · System.Text
RegexNode
public class System.Text.RegexNode : System.Any
A node of a parsed pattern. Kind: 0 the end of the pattern, 1 a literal unit, 2 a class (Table), 3 ., 4 a
sequence, 5 alternatives, 6 a group's start, 7 its end, 8 a repeat, 9 the end of one iteration of a repeat, 10 ^,
11 $, 12 \b, 13 \B. Once the pattern is parsed, every node knows the node after it (Next), so matching walks
fixed links and allocates nothing.
- Tipo
- class
- Espacio de nombres
- System.Text
- Ensamblado
- System.Core
- Acceso
- public, final
- Archivo fuente
Regex.ant
Herencia
- Clases base
-
AnyRegexNode
Constructores
Campos
field Children: System.List<System.Text.RegexNode>
#
field Child: System.Text.RegexNode
#
field Repeat: System.Text.RegexNode
#
field Next: System.Text.RegexNode
#
A repeat of one literal, class or .: matched by a loop over the units (no iterations).
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
RegexNode en Larva HIR, descompilado a partir de su Larva HIR.
// A node of a parsed pattern. Kind: 0 the end of the pattern, 1 a literal unit, 2 a class (Table), 3 `.`, 4 a
// sequence, 5 alternatives, 6 a group's start, 7 its end, 8 a repeat, 9 the end of one iteration of a repeat, 10 `^`,
// 11 `$`, 12 `\b`, 13 `\B`. Once the pattern is parsed, every node knows the node after it (Next), so matching walks
// fixed links and allocates nothing.
public class System.Text.RegexNode : System.Any
{
field Kind: i32
field Literal: u8
field Table: u8[]
field Children: System.List<System.Text.RegexNode>
field Child: System.Text.RegexNode
field Repeat: System.Text.RegexNode
field Next: System.Text.RegexNode
field Index: i32
field Min: i32
field Max: i32
field Count: i32
field Lazy: bool
// A repeat of one literal, class or `.`: matched by a loop over the units (no iterations).
field Units: bool
constructor RegexNode(kind: i32)
}