pythonsyntax

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseValidated

func ParseValidated(subject string, source []byte, collector pythongrammar.FactSink) pythongrammar.Failure

ParseValidated parses the closed Python 3.12 subset exactly as pythongrammar.ParsePython312Subset does, and additionally rejects sources the subset treats as necessarily invalid.

func SourceSyntaxValid

func SourceSyntaxValid(path string, source []byte) bool

SourceSyntaxValid validates the analyzer's closed Python 3.12 source grammar without applying its request, fact, or output capability limits.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL