Sign in Join
FPDoc Onlineexperiment

TIntConvertNode class

In unit fpExprPars

Internally used class for integer conversion operations

Declaration

pascal
TIntConvertNode = class(TFPConvertNode)

Inheritance

  1. TIntConvertNode
  2. TFPConvertNode
  3. TFPUnaryOperator
  4. TFPExprNode
  5. TObject

Descends from it: TIntToCurrencyNode TIntToDateTimeNode TIntToFloatNode

Description

The TIntConvertNode class handles conversion operations that produce integer results from various source data types. It extends TFPConvertNode to provide integer-specific conversion functionality.

The class is used when expressions require values to be converted to integer representation, such as when performing integer arithmetic operations or when explicit integer casting is needed.

The conversion handles different source types appropriately, applying truncation, rounding, or other integer conversion rules based on the source data type.

This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.

See also

Methods

CheckpublicValidate the integer conversion for correctness

Inherited

From TFPUnaryOperator (6)

Create Destroy HasAggregate InitAggregate Operand UpdateAggregate

From TFPExprNode (6)

AsString CheckNodeType GetNodeValue IsAggregate NodeType NodeValue

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.