ParallelStack init
This commit is contained in:
@@ -62,6 +62,20 @@ type
|
|||||||
property Last:TAGToken read GetLast write Push;
|
property Last:TAGToken read GetLast write Push;
|
||||||
property Ended:Boolean read IsEnded;
|
property Ended:Boolean read IsEnded;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{TAGPasTokenizerParallelStack=class(TAGPasTokenizerStack)
|
||||||
|
strict protected
|
||||||
|
var
|
||||||
|
Stack:TStack<TAGToken>;
|
||||||
|
Tokenizer:TAGPasTokenizer;
|
||||||
|
Get:GetCall;
|
||||||
|
function GetLast():TAGToken;
|
||||||
|
function IsEnded():Boolean;
|
||||||
|
public
|
||||||
|
constructor Create(input:TStrings;GetComments:boolean=True);
|
||||||
|
procedure Push(t:TAGToken);
|
||||||
|
function Pop():TAGToken;
|
||||||
|
end; }
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
function IsComment(s: string): boolean;
|
function IsComment(s: string): boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user