package
0.7.6
Repository: https://github.com/hofstadter-io/mvs.git
Documentation: pkg.go.dev

# Functions

AutoQuote returns s or, if quoting is required for s to appear in a go.mod, the quotation of s.
Format returns a go.mod file as a byte slice, formatted in standard style.
IsDirectoryPath reports whether the given path should be interpreted as a directory path.
ModulePath returns the module path from the gomod file text.
MustQuote reports whether s must be quoted in order to appear as a single token in a go.mod line.
Parse parses the data, reported in errors as being from file, into a File struct.
ParseLax is like Parse but ignores unknown statements.

# Variables

No description provided by the author

# Structs

A Comment represents a single // comment.
A CommentBlock represents a top-level block of comments separate from any rule.
Comments collects the comments associated with an expression.
No description provided by the author
An Exclude is a single exclude statement.
A File is the parsed, interpreted form of a lang.mod file.
A FileSyntax represents an entire go.mod file.
A Language is the language = version statement.
A Line is a single line of tokens.
A LineBlock is a factored block of lines, like require ( "x" "y" ) .
An LParen represents the beginning of a parenthesized line block.
A Module is the module statement.
A Position describes an arbitrary source position in a file, including the file, line, column, and byte offset.
A Replace is a single replace statement.
A Require is a single require statement.
An RParen represents the end of a parenthesized line block.

# Interfaces

An Expr represents an input element.

# Type aliases

No description provided by the author