-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from librasn/fix/nested-choice
Fix/nested choice
- Loading branch information
Showing
16 changed files
with
654 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/// The compiler generates code only in the `generator` module. | ||
/// Therefore, all transformation of ASN.1 identifiers are specific | ||
/// to a particular `Backend` implementation that the compiler uses. | ||
/// For example, the `Rasn` backend unnests inner types and names | ||
/// them with a specific prefix. | ||
/// `INTERNAL_NESTED_TYPE_NAME_PREFIX` is a prefix that is prepended | ||
/// to stringified type names of nested types (with the exception of | ||
/// item types of array-like types) internally, so that they can be properly | ||
/// identified by the individual compiler backends. | ||
pub const INTERNAL_NESTED_TYPE_NAME_PREFIX: &str = "INNER$"; | ||
/// `INTERNAL_ITEM_TYPE_NAME_PREFIX` is a prefix that is prepended | ||
/// to stringified type names of array-like types' item types, so that they | ||
/// can be properly identified by the individual compiler backends. | ||
pub const INTERNAL_ITEM_TYPE_NAME_PREFIX: &str = "ITEM$"; | ||
/// `INTERNAL_IO_FIELD_REF_TYPE_NAME_PREFIX` is a prefix that is prepended | ||
/// to stringified type names of information object field reference types, so that they | ||
/// can be properly identified by the individual compiler backends. | ||
pub const INTERNAL_IO_FIELD_REF_TYPE_NAME_PREFIX: &str = "IOFR$"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.