Unit PasDoc_Scanner
Description
Scanner for Pascal, producing tokens and interpreting conditionals.
Source: source/component/PasDoc_Scanner.pas (line 30).
Uses
- SysUtils
- Classes
- Contnrs
- Types
- PasDoc_Types
- PasDoc_Tokenizer
- PasDoc_StringVector
- PasDoc_StreamUtils
- PasDoc_StringPairVector
- PasDoc_ObjectVector
Overview
Classes, Interfaces, Objects and Records
| Name | Description |
|---|---|
Class ETokenizerStreamEnd |
|
Class EInvalidIfCondition |
|
Class TScanner |
Scanner for Pascal, producing tokens and interpreting conditionals
Returns tokens from a Pascal language source code input stream. |
Types
TUpperCaseLetter = 'A'..'Z'; |
TSwitchOptions = array[TUpperCaseLetter] of Boolean; |
TDirectiveType = (...); |
Constants
MAX_TOKENIZERS = 32; |
Description
Types
TUpperCaseLetter = 'A'..'Z'; |
|
subrange type that has the 26 lower case letters from a to z |
TSwitchOptions = array[TUpperCaseLetter] of Boolean; |
|
an array of boolean values, index type is TUpperCaseLetter |
TDirectiveType = (...); |
|
All directives a scanner is going to regard. Values
|
Constants
MAX_TOKENIZERS = 32; |
|
maximum number of streams we can recurse into; first one is the unit stream, any other stream an include file; current value is 32, increase this if you have more include files recursively including others |
Authors
Generated by PasDoc 0.17.0.snapshot.