Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The package contains classes representing Splicer specific functionality for resolving splicing and desplicing directives within each parsed rule context. The Objects sub-package contains implementation of splicing and desplicing directives and regions.

TM1DirectiveContainer (class in TM1DirectiveContainer.py)

This class stores all directives defined in the TM1 rule. It also contains convert helper method to provide support when splicing dimensional elements of the TM1 rule.

The class defines following attributes:

Attribute

Type

Usage

splice_executor

TM1SpliceExecutor

Link to an instance of TM1SpliceExecutor.

directives

List[TM1Directive]

Global position of the text start (inclusive) within the TM1 rule, calculated as zero based number of characters from start of the rule.

priority_directives

Dict[(str, str), TM1Directive]

Dictionary of directives that apply to all elements of a dimension/hierarchy.

The class defines following methods:

  • No labels