Syntax.Parse.Pattern
Stable public facade for the generated Pattern-family parser.
Functions and Values
parse_pattern
parse_pattern : (Syntax.Cursor.Cursor, Int) -> Syntax.Parse.Support.Parsed(Syntax.Ast.Sp(Syntax.Ast.Pat))
Parse one pattern at depth, noting the receipt the generated parser completed it with.
parse_let_pattern
parse_let_pattern : (Syntax.Cursor.Cursor, Int) -> Syntax.Parse.Support.Parsed(Syntax.Ast.Sp(Syntax.Ast.Pat))
Parse the pattern on the left of a let binding, where a bare constructor name binds rather than matches.