AutoBE
    Preparing search index...

    Postfix unary expression for operators applied after operands.

    Represents unary operators that appear after their operands:

    • "++" for post-increment
    • "--" for post-decrement

    E2E testing usage:

    • Counter operations where original value is used before modification
    • Loop iteration variables (though rare in typical E2E test scenarios)

    AI function calling context: Use when the original value is needed before the increment/decrement operation, typically in scenarios involving iteration or counting with captured test data.

    interface IPostfixUnaryExpression {
        operand: IExpression;
        operator: "++" | "--";
        type: "postfixUnaryExpression";
    }
    Index

    Properties

    Properties

    operand: IExpression

    The operand expression to which the operator is applied.

    Typically variable identifiers that need modification. Should reference captured data or computed values, not direct API call results.

    operator: "++" | "--"

    The unary operator to apply.

    • "++": Post-increment (use value then modify)
    • "--": Post-decrement (use value then modify)
    type: "postfixUnaryExpression"

    Type discriminator.