Crate reproto_core [−] [src]
Re-exports
pub extern crate reproto_semver as semver; |
pub extern crate serde; |
pub use self::translator::FlavorTranslator; |
pub use self::translator::PackageTranslator; |
pub use self::translator::Translate; |
pub use self::translator::Translator; |
pub use self::utils::Encoding; |
pub use self::utils::Position; |
Modules
errors | |
flavored | |
translator |
Translates one IR in-place into another. |
utils |
Macros
decl_flavor | |
translator_defaults |
Structs
Attributes | |
BigInt |
A big signed integer type. |
CapturingFilesystem |
Capture all filesystem operations in-memory. |
Context |
Context for a single reproto run. |
CoreFlavor |
The first flavor where packages are fully qualified. |
Diagnostics |
A collection of diagnostics emitted by the compiler. |
EmptyResolver | |
Loc | |
Mime | |
Range |
A |
RealFilesystem |
Real filesystem implementation. |
RelativePath |
A borrowed, immutable relative path. |
RelativePathBuf |
An owned, mutable relative path. |
Resolved |
A resolved package. |
ResolvedByPrefix |
A resolved package. |
RpCode | |
RpEndpoint | |
RpEndpointArgument |
An argument to an endpont. |
RpEndpointHttp | |
RpEndpointHttp1 |
A model that describes the endpoint as an HTTP/1.1 endpoint. |
RpEnumBody | |
RpField | |
RpFile | |
RpInterfaceBody | |
RpName | |
RpNumber | |
RpPackage | |
RpPackageFormat |
Helper structure to format package information. |
RpPathSpec |
A path specification. |
RpPathStep |
A step in a path specification. |
RpRequiredPackage | |
RpServiceBody | |
RpServiceBodyHttp | |
RpSubType | |
RpTupleBody | |
RpTypeBody | |
RpVariant |
Variant in an enum. |
RpVariantRef |
A cheap, type-erasured variant that can be used for value comparisons. |
RpVersionedPackage | |
Selection | |
Source | |
Span | |
Version |
Represents a version number conforming to the semantic versioning scheme. |
Enums
ContextItem | |
Diagnostic |
A single diagnostic emitted by the compiler. |
RpAccept | |
RpChannel | |
RpContext | |
RpDecl | |
RpEnumType |
Model for enum types |
RpHttpMethod | |
RpNamed | |
RpPathPart |
A part of a step. |
RpReg |
Marker for the existence of a registered type of the given kind. |
RpSubTypeStrategy | |
RpType | |
RpValue | |
RpVariantValue | |
RpVariants | |
SymbolKind |
Constants
DEFAULT_TAG |
Default key to use for tagged sub type strategy. |
Traits
AsPackage | |
Filesystem |
Filesystem abstraction. |
Flavor |
The flavor of intermediate representation being used. |
FlavorField | |
Handle | |
Import | |
OptionEntry | |
Options |
Helper for looking up and dealing with options. |
Resolver |
Trait that translates a required package into a set of versions and objects. |
WithSpan |