Class PostfixOperationNode

Assembly: redb.Route.dll

AST node for postfix operations (e.g. x++, x--).
Returns the original value before the increment/decrement is applied.

public class PostfixOperationNode : AstNode

Inheritance

Object→AstNode→PostfixOperationNode

Inherited Members

Properties

Operand

Gets the operand (the expression being incremented or decremented).

public AstNode Operand { get; }

Operator

Gets the postfix operator ("++" or "--").

public string Operator { get; }

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Constructors

PostfixOperationNode(AstNode, string)

Initializes a new instance of the class.