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
    _name: string = "DecomposeVarDeclarations"
    _traversalType: TraversalType
    • 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

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

      Parameters

      • $jp: LaraJoinPoint

        Joint point on which the pass will be applied

      Returns PassResult

      Results of applying this pass to the given joint point