tokenizer.AST : dylan.NET.Tokenizer.AST.Tokens.Ops Namespace

NegOp Class

Represents a two's complement negation '!' operator.

Syntax

public class NegOp : LogicalOp

Remarks

Negates its operand. For signed number operands only. Equivalent to operand * -1. Instances of this class are shortlived since they are translated to a flag inside the operand.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Ops
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1

Members

See Also: Inherited members from LogicalOp.

Public Constructors

NegOp ()
Constructs a new NegOp.

Public Fields

LChild dylan.NET.Tokenizer.AST.Tokens.Token . In an AST made by the codegen module this holds the Left Child this Op operates on. (Inherited from Op.)
Line int . The Line where this Token was found. (Inherited from dylan.NET.Tokenizer.AST.Tokens.Token.)
PrecNo int . This is the order of precedence number used during RPN expression making. (Inherited from Op.)
RChild dylan.NET.Tokenizer.AST.Tokens.Token . In an AST made by the codegen module this holds the Right Child this Op operates on. (Inherited from Op.)
Value string . The textual value of the Token. (Inherited from dylan.NET.Tokenizer.AST.Tokens.Token.)

Member Details

NegOp Constructor

Constructs a new NegOp.

Syntax

public NegOp ()

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Ops
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1