Directories
¶
| Path | Synopsis |
|---|---|
|
Package ast is a high-performance implementation of a Protobuf IDL abstract syntax tree.
|
Package ast is a high-performance implementation of a Protobuf IDL abstract syntax tree. |
|
predeclared
Package predeclared provides all of the identifiers with a special meaning in Protobuf.
|
Package predeclared provides all of the identifiers with a special meaning in Protobuf. |
|
syntax
Package syntax specifies all of the syntax pragmas (including editions) that Protocompile understands.
|
Package syntax specifies all of the syntax pragmas (including editions) that Protocompile understands. |
|
Package dom is a Go port of https://github.com/mcy/strings/tree/main/allman, a high-performance meta-formatting library.
|
Package dom is a Go port of https://github.com/mcy/strings/tree/main/allman, a high-performance meta-formatting library. |
|
Package expr provides an abstract syntax tree implementation for an expression language shared by various parts of the compiler.
|
Package expr provides an abstract syntax tree implementation for an expression language shared by various parts of the compiler. |
|
Package id provides helpers for working with node-oriented data structures (such as ASTs and graphs) using compressed pointers (IDs).
|
Package id provides helpers for working with node-oriented data structures (such as ASTs and graphs) using compressed pointers (IDs). |
|
Package incremental implements a query-oriented incremental compilation framework.
|
Package incremental implements a query-oriented incremental compilation framework. |
|
queries
Package queries provides specific incremental.Query types for various parts of Protocompile.
|
Package queries provides specific incremental.Query types for various parts of Protocompile. |
|
cycle
Package cycle contains internal helpers for dealing with dependency cycles.
|
Package cycle contains internal helpers for dealing with dependency cycles. |
|
errtoken
Package errtoken contains standard diagnostics involving tokens, usually emitted by the lexer.
|
Package errtoken contains standard diagnostics involving tokens, usually emitted by the lexer. |
|
just
package just adds a "justification" helper for diagnostics.
|
package just adds a "justification" helper for diagnostics. |
|
taxa
Package taxa (plural of taxon, an element of a taxonomy) provides support for classifying Protobuf syntax productions for use in the parser and in diagnostics.
|
Package taxa (plural of taxon, an element of a taxonomy) provides support for classifying Protobuf syntax productions for use in the parser and in diagnostics. |
|
tokenmeta
Package meta defines internal metadata types shared between the token package and the lexer.
|
Package meta defines internal metadata types shared between the token package and the lexer. |
|
Package ir defines the intermediate representation used by Protocompile.
|
Package ir defines the intermediate representation used by Protocompile. |
|
presence
Package presence provides Kind, which denotes the way in which a field can be present in a Protobuf message.
|
Package presence provides Kind, which denotes the way in which a field can be present in a Protobuf message. |
|
Package report provides a robust diagnostics framework.
|
Package report provides a robust diagnostics framework. |
|
tags
Package tags defines publicly-exposed diagnostic tag constants for use with [report.Tag].
|
Package tags defines publicly-exposed diagnostic tag constants for use with [report.Tag]. |
|
Package seq provides an interface for sequence-like types that can be indexed and inserted into.
|
Package seq provides an interface for sequence-like types that can be indexed and inserted into. |
|
Package source provides a standard interfaces for working with source files and spans within them.
|
Package source provides a standard interfaces for working with source files and spans within them. |
|
length
Package length provides various length that can be used for configuring the behavior of line/column calculations.
|
Package length provides various length that can be used for configuring the behavior of line/column calculations. |
|
Package token provides a memory-efficient representation of a token tree stream for the Protobuf IDL.
|
Package token provides a memory-efficient representation of a token tree stream for the Protobuf IDL. |
|
keyword
Package keyword provides Keyword, an enum of all special "grammar particles" (i.e., literal tokens with special meaning in the grammar such as identifier keywords and punctuation) recognized by Protocompile.
|
Package keyword provides Keyword, an enum of all special "grammar particles" (i.e., literal tokens with special meaning in the grammar such as identifier keywords and punctuation) recognized by Protocompile. |
Click to show internal directories.
Click to hide internal directories.