ParallelStack init

This commit is contained in:
2019-01-02 16:20:48 +03:00
parent b2c7619176
commit ea85f9f607

View File

@@ -62,6 +62,20 @@ type
property Last:TAGToken read GetLast write Push;
property Ended:Boolean read IsEnded;
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}
function IsComment(s: string): boolean;