Skip to content

mts core

ewenbaron edited this page Aug 9, 2019 · 2 revisions

Packages

classhandler

Parse CLASS keyword and his friends (cf example).

constant

Parse constants which are needed during translator generation nor encoding.

constraint

Parse constraint using ConstraintVisitor. All constraint are in Constraints which is use by translator

factory

Give interfaces for encoding and dataformat modules

registry

Store translators and theirs ANTLR contexts

translator

Each translator parse its context and store information for encoding module. Translator are equivalent to ASN.1 data, they can be retrieve in X.691 specification for example.

visitor

Browse ANTLR tree and store contexts in indexing registry. It allows us to do some king of "lazy parsing" of ANTLR contexts.


ASN1Translator provide user interface.

BitArray and BitInputStream are used during encoding and encoding.

TranslatorContext is used to pass temporary information between translator during encoding and decoding. At the moment, it's use to store class unique key when open type are used (example here).

Clone this wiki locally