Table of Contents

Enum NumberTokenSemanticFlags

Namespace
RDCore.SDK.Semantics.Flags
Assembly
RDCore.SDK.dll
[Flags]
public enum NumberTokenSemanticFlags

Fields

All = Completed | SyntaxError | InvalidInteger | DecimalNotation | OctalNotation | HexadecimalNotation | TypeSuffix | Unsupported64Bit | InvalidFloat | BankersRounding

Combines all values.

BankersRounding = 512

A number token with a Currency declared type was rounded to 4 significant digits using the Banker's Rounding algorithm.

See MS-VBAL 5.5.1.2.1.1 Banker's Rounding.

Completed = 1

A number token was successfully ingested as a numeric literal expression symbol in the abstract syntax tree (AST).

DecimalNotation = 8

The number token is expressed in decimal notation.

HexadecimalNotation = 32

The number token is expressed in octal notation.

InvalidFloat = 256

The number token expresses a value that cannot be represented with a valid floating-point VBTypedValue type.

InvalidInteger = 4

The number token expresses a value that cannot be represented with a valid integer VBTypedValue type.

OctalNotation = 16

The number token is expressed in octal notation.

SyntaxError = 2

The abstract syntax tree (AST) at the specified Uri contains invalid symbols and error nodes.

TypeSuffix = 64

The data type of the number token is semantically determined by a type-suffix token.

Unsupported64Bit = 128

The data type of the number token is statically invalid in an environment that does not support 64-bit arithmetics.