record TMiniToken

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMiniToken = record

Description

This type represents a token that is parsed by an instance of AMiniParser.

The tokenType member indicates the type of token found by the scanner and will correspond to one of the values in the AMiniTokenType enumeration:

  • MT_RECOGNIZED: Indicates that a recognized token was found by the scanner. The text member will contain the literal text of the token as read by the scanner.

  • MT_INTEGER: Indicates a whole number was found by the scanner. The integerValue member will contained the parsed value of this number.

  • MT_FLOAT: Indicates a fractional number was found by the scanner. The floatValue member will contain the parsed value of this number.

  • MT_UNRECOGNIZED: Indicates that an unrecognized token was encountered by the scanner. The text member will contain the literal text of the token as read by the scanner.

Overview

Fields

tokenType: AMiniTokenType;
text: string;
integerValue: int64;
floatValue: double;

Description

Fields

tokenType: AMiniTokenType;
 
text: string;
 
integerValue: int64;
 
floatValue: double;
 

Generated by PasDoc 0.13.0 on 2015-06-23 19:40:11