GtfLinePolicy
Mojo struct 🡭
GtfLinePolicy
Section titled “GtfLinePolicy”@register_passable_trivialstruct GtfLinePolicyGTF: skip blank lines and lines starting with #.
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