Unit mseparser

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record sourceposty  
Class tsourceposlist  
Record tokenty  
Class tscanner  
Class tpascalscanner  
Class tcscanner  
Record identinfoty  
Record tokenidty  
Record filestackinfoty  
Class tdefineslist  
Class tparser  
Class tpascalparser  
Class tcparser  
Record constinfoty  
Class tconstparser  
Class tfpcresstringparser  
Class tresstringlistparser  

Functions and Procedures

function isemptysourcepos(const value: sourceposty): boolean;
function issamesourcepos(const a,b: sourceposty): boolean;
function emptysourcepos: sourceposty;

Types

operatorty = (...);
tokenkindty = (...);
psourceposty = ˆsourceposty;
tokenstatety = (...);
tokenstatesty = set of tokenstatety;
ptokenty = ˆtokenty;
tokenarty = array of tokenty;
charsetty = set of char;
identstringty = string[identmaxlen+1];
pidentinfoty = ˆidentinfoty;
identinfoarty = array of identinfoty;
valuekindty = (...);
tokenidarty = array of tokenidty;
filestackinfoarty = array of filestackinfoty;
scannerarty = array of tscanner;
getincludefileeventty = procedure(const sender: tparser; const scanner: tscanner) of object;
scannerclassty = class of tscanner;
defstatety = (...);
pascalidentty = (...);
cidentty = (...);
pconstinfoty = ˆconstinfoty;
constinfoarty = array of constinfoty;

Constants

maxincludelevel = 32;
identmaxlen = 30;
identbucketcount = 128;
firstpascalident = pid_and;
lastpascalnormalident = integer(pid_xor);
lastpascalclassident = integer(pid_automated);
lastpascalpropertyident = integer(pid_nodefault);
lastpascalident = pid_nodefault;
pascalidents: array[firstpascalident..lastpascalident] of string = ( 'and','array','as','asm','begin','case','class','const','constructor', 'destructor','dispinterface','div','do','downto','else','end','except', 'exports','file','finalization','finally','for','function','goto','if', 'implementation','in','initialization','inline','forward','interface', 'is','label','library','method','mod','nil','not','object','of','or','out', 'overload', 'packed','procedure','program','property','raise','record','repeat', 'resourcestring','set','shl','shr','then','threadvar','to', 'try','type','unit','until','uses','var','while','with','xor', 'abstract','inherited','override','reintroduce','virtual', 'private','protected','public','published','automated', 'read','write','stored','default','nodefault');
firstcident = cid_break;
lastcident = cid_volatile;
cidents: array[firstcident..lastcident] of string = ( 'break','case','continue','default', 'do','else','entry','for','goto','if','return', 'sizeof', 'switch','while', 'auto','const','enum','extern', 'register','signed','static', 'struct','typedef','union','unsigned','volatile' );

Description

Functions and Procedures

function isemptysourcepos(const value: sourceposty): boolean;
 
function issamesourcepos(const a,b: sourceposty): boolean;
 
function emptysourcepos: sourceposty;
 

Types

operatorty = (...);
 
Values
  • op_unknown
tokenkindty = (...);
 
Values
  • tk_operator
  • tk_whitespace
  • tk_name
  • tk_number
  • tk_newline
  • tk_fileend
  • tk_include
psourceposty = ˆsourceposty;
 
tokenstatety = (...);
 
Values
  • tos_linestart
  • tos_firstofline
tokenstatesty = set of tokenstatety;
 
ptokenty = ˆtokenty;
 
tokenarty = array of tokenty;
 
charsetty = set of char;
 
identstringty = string[identmaxlen+1];
 
pidentinfoty = ˆidentinfoty;
 
identinfoarty = array of identinfoty;
 
valuekindty = (...);
 
Values
  • vk_none
  • vk_integer
  • vk_real
  • vk_string
tokenidarty = array of tokenidty;
 
filestackinfoarty = array of filestackinfoty;
 
scannerarty = array of tscanner;
 
getincludefileeventty = procedure(const sender: tparser; const scanner: tscanner) of object;
 
scannerclassty = class of tscanner;
 
defstatety = (...);
 
Values
  • def_none
  • def_skip
pascalidentty = (...);
 
Values
  • pid_invalid = -1
  • pid_and = 0
  • pid_array
  • pid_as
  • pid_asm
  • pid_begin
  • pid_case
  • pid_class
  • pid_const
  • pid_constructor
  • pid_destructor
  • pid_dispinterface
  • pid_div
  • pid_do
  • pid_downto
  • pid_else
  • pid_end
  • pid_except
  • pid_exports
  • pid_file
  • pid_finalization
  • pid_finally
  • pid_for
  • pid_function
  • pid_goto
  • pid_if
  • pid_implementation
  • pid_in
  • pid_initialization
  • pid_inline
  • pid_forward
  • pid_interface
  • pid_is
  • pid_label
  • pid_library
  • pid_method
  • pid_mod
  • pid_nil
  • pid_not
  • pid_object
  • pid_of
  • pid_or
  • pid_out
  • pid_overload
  • pid_packed
  • pid_procedure
  • pid_program
  • pid_property
  • pid_raise
  • pid_record
  • pid_repeat
  • pid_resourcestring
  • pid_set
  • pid_shl
  • pid_shr
  • pid_then
  • pid_threadvar
  • pid_to
  • pid_try
  • pid_type
  • pid_unit
  • pid_until
  • pid_uses
  • pid_var
  • pid_while
  • pid_with
  • pid_xor
  • pid_abstract
  • pid_inherited
  • pid_override
  • pid_reintroduce
  • pid_virtual
  • pid_private
  • pid_protected
  • pid_public
  • pid_published
  • pid_automated
  • pid_read
  • pid_write
  • pid_stored
  • pid_default
  • pid_nodefault
cidentty = (...);
 
Values
  • cid_invalid = -1
  • cid_break = 0
  • cid_case
  • cid_continue
  • cid_default
  • cid_do
  • cid_else
  • cid_entry
  • cid_for
  • cid_goto
  • cid_if
  • cid_return
  • cid_sizeof
  • cid_switch
  • cid_while
  • cid_auto
  • cid_const
  • cid_enum
  • cid_extern
  • cid_register
  • cid_signed
  • cid_static
  • cid_struct
  • cid_typedef
  • cid_union
  • cid_unsigned
  • cid_volatile
pconstinfoty = ˆconstinfoty;
 
constinfoarty = array of constinfoty;
 

Constants

maxincludelevel = 32;
 
identmaxlen = 30;
 
identbucketcount = 128;
 
firstpascalident = pid_and;
 
lastpascalnormalident = integer(pid_xor);
 
lastpascalclassident = integer(pid_automated);
 
lastpascalpropertyident = integer(pid_nodefault);
 
lastpascalident = pid_nodefault;
 
pascalidents: array[firstpascalident..lastpascalident] of string = ( 'and','array','as','asm','begin','case','class','const','constructor', 'destructor','dispinterface','div','do','downto','else','end','except', 'exports','file','finalization','finally','for','function','goto','if', 'implementation','in','initialization','inline','forward','interface', 'is','label','library','method','mod','nil','not','object','of','or','out', 'overload', 'packed','procedure','program','property','raise','record','repeat', 'resourcestring','set','shl','shr','then','threadvar','to', 'try','type','unit','until','uses','var','while','with','xor', 'abstract','inherited','override','reintroduce','virtual', 'private','protected','public','published','automated', 'read','write','stored','default','nodefault');
 
firstcident = cid_break;
 
lastcident = cid_volatile;
 
cidents: array[firstcident..lastcident] of string = ( 'break','case','continue','default', 'do','else','entry','for','goto','if','return', 'sizeof', 'switch','while', 'auto','const','enum','extern', 'register','signed','static', 'struct','typedef','union','unsigned','volatile' );
 

Generated by PasDoc 0.16.0.