sofaman.ir.ir

sofaman.ir.ir#

This is a mostly internal module that is used to build the intermediate representation from the AST.

Classes

SofaIR()

This class is used to build the intermediate representation of the sofa model, which is used by the generator to generate the final output.

SofaStructTransformer([visit_tokens])

This class extends Transformer and implements the transformation from the Lark AST to the Sofa IR.

SofaTransformer(context[, visit_tokens])

This class implements transformation of the model elements.