%%
%% This is file `advice-tikz.code.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% advice.dtx  (with options: `tikz')
%% 
%% This file is a part of Advice, a TeX package implementing a generic
%% framework for extending the functionality of selected commands and
%% environments, available at https://ctan.org/pkg/advice and
%% https://github.com/sasozivanovic/advice.
%%
%% Copyright (c) 2023- Saso Zivanovic <saso.zivanovic@guest.arnes.si>
%%                     (Sa\v{s}o \v{Z}ivanovi\'{c})
%%
%% This work may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License, either version 1.3c of this license or (at
%% your option) any later version.  The latest version of this license is in
%% https://www.latex-project.org/lppl.txt and version 1.3c or later is part of
%% all distributions of LaTeX version 2008 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%% The Current Maintainer of this work is Saso Zivanovic.
%%
%% The files belonging to this work and covered by LPPL are listed in
%% (<texmf>/doc/generic/advice/)FILES.
\edef\adviceresetatcatcode{\catcode`\noexpand\@\the\catcode`\@\relax}%
\catcode`\@=11
\def\AdviceCollectTikZArguments{%
  \toks0={}%
  \advice@tikz@anim
}
\def\advice@tikz@anim{%
  \pgfutil@ifnextchar[{\advice@tikz@opt}{%
      \pgfutil@ifnextchar:{\advice@tikz@anim@a}{%
        \advice@tikz@code}}%]
}
\def\advice@tikz@anim@a#1=#2{%
  \toksapp0{#1={#2}}%
  \advice@tikz@anim
}
\def\advice@tikz@opt[#1]{%
  \toksapp0{[#1]}%
  \advice@tikz@code
}
\def\advice@tikz@code{%
  \pgfutil@ifnextchar\bgroup\advice@tikz@braced\advice@tikz@single
}
\long\def\advice@tikz@braced#1{\toksapp0{{#1}}\advice@tikz@done}
\def\advice@tikz@single#1;{\toksapp0{#1;}\advice@tikz@done}
\def\advice@tikz@done{%
  \expandafter\AdviceInnerHandler\expandafter{\the\toks0}%
}
\adviceresetatcatcode
\endinput
%%
%% End of file `advice-tikz.code.tex'.
