DefaultLinePolicy
Mojo struct 🡭
DefaultLinePolicy
Section titled “DefaultLinePolicy”@register_passable_trivialstruct DefaultLinePolicyThe default line policy for delimited readers.
Skips blank lines (SKIP) and yields all non-empty lines (YIELD).
Implemented traits
Section titled “Implemented traits”AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, LinePolicy, Movable, RegisterPassable, TrivialRegisterPassable
Methods
Section titled “Methods”classify
Section titled “classify”def classify(self, line: Span[UInt8, line.origin]) -> LineActionArgs:
- self (
Self) - line (
Span)
Returns:
LineAction