SPeCS Packages Documentation
    Preparing search index...

    Decomposes the vardecl nodes that are reachable from the given join point.

    E.g. transforms int i = 0; into int i; i = 0;

    Does not support decomposition for variables that are arrays, in those cases the code stays unchanged.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _name: string = "DecomposeVarDeclarations"
    _traversalType: TraversalType

    Accessors

    • get name(): string

      Returns string

      Name of the pass

    • get traversalType(): TraversalType

      Order in which the join point's descendants should be visited

      Returns TraversalType

    Methods

    • Applies this pass starting at the given join point. If no join point is given, uses the root join point

      Parameters

      Returns PassResult

      Results of applying this pass to the given joint point