Table of Contents

Class LogicalOperatorFact

Namespace
RDCore.SDK.Semantics.Facts
Assembly
RDCore.SDK.dll

An operation of a logical operator (MS-VBAL 5.6.9.8).

public sealed record LogicalOperatorFact : OperatorFact, IEquatable<OperatorFact>, IEquatable<LogicalOperatorFact>
Inheritance
LogicalOperatorFact
Implements
Inherited Members

Constructors

LogicalOperatorFact(SyntaxNodeId, SourceLocation, string, VBType?, bool, VBErrorInfo?, LogicalOperatorSemanticFlags)

An operation of a logical operator (MS-VBAL 5.6.9.8).

public LogicalOperatorFact(SyntaxNodeId Node, SourceLocation Location, string Operator, VBType? EffectiveType, bool IsValueKnown, VBErrorInfo? Error, LogicalOperatorSemanticFlags Flags)

Parameters

Node SyntaxNodeId

The Identity of the syntax node the operation is evaluated for.

Location SourceLocation

Where in the document the operation is: the whole expression, operands included, where a run-time error of the operation is located.

Operator string

The operator: one of the Tokens operators.

EffectiveType VBType

The effective type of the operation, if it has one.

IsValueKnown bool

Whether every operand of the operation is known, as opposed to a value its type merely allows.

Error VBErrorInfo

The run-time error the operation raises. Only stated when the operands are known, or when their types alone guarantee it.

Flags LogicalOperatorSemanticFlags

What is known of the operation.

Properties

Flags

What is known of the operation.

public LogicalOperatorSemanticFlags Flags { get; init; }

Property Value

LogicalOperatorSemanticFlags