Sign in Join
FPDoc Onlineexperiment

EExprScanner class

In unit fpExprPars

Exception class for scanner errors

Declaration

pascal
EExprScanner = class(Exception)

Inheritance

  1. EExprScanner
  2. Exception
  3. TObject

Description

This exception class is raised by the TFPExpressionScanner when lexical analysis errors occur during expression scanning. It indicates problems encountered while tokenizing the input expression text.

Common scenarios that trigger this exception include:

  • Invalid character sequences that cannot be recognized as valid tokens
  • Malformed string literals (unclosed quotes)
  • Invalid numeric literals (malformed number formats)
  • Unexpected characters that violate the expression grammar

The exception typically provides detailed error information including the position where the error occurred and a description of what went wrong during the scanning process.

Inherited

From Exception (12)

Create CreateFmt CreateFmtHelp CreateHelp CreateRes CreateResFmt CreateResFmtHelp CreateResHelp GetBaseException HelpContext Message ToString

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Destroy 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 UnitName

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