source: ProtocolBuffers/UParser.pas

Last change on this file was 11, checked in by george, 15 years ago
  • Modified: Definition tree is now separated from data. This was needed for implementation of repeated fields.
File size: 496 bytes
Line 
1unit UParser;
2
3{$mode delphi}{$H+}
4
5interface
6
7uses
8 Classes, DateUtils;
9
10type
11 { TParser }
12 TParser = class
13 WhiteSpaces: string;
14 Text: string;
15 Index: Integer;
16 function CheckNext(Text: string; Shift: Boolean = False): Boolean;
17 constructor Create;
18 end;
19
20implementation
21
22{ TParser }
23
24function TParser.CheckNext(Text: string; Shift: Boolean): Boolean;
25begin
26
27end;
28
29constructor TParser.Create;
30begin
31 WhiteSpaces := ' '#9#10#13;
32end;
33
34end.
Note: See TracBrowser for help on using the repository browser.