Posted 17 years ago
by BLANC Stéphane
-
Staubli Robotics Suite Product Manager,
STAUBLI
Version: 4.0.0271

Hello,
I have defined the following PatternGroupe the xml configuration file :
<ExplicitPatternGroup Key="EndIfPatternGroup" TokenID="456" TokenKey="EndIfReservedWordToken" Style="ReservedWordStyle" PatternValue="endIf" StartBracket="IfPatternGroup" CaseSensitivity="Sensitive" />
and I need to retrieve the value of the StartBracket property from a Token
in my code.
In fact, once I will have the StartBracket content,
I will be able to retrieve the TokenId and then,
be able to call the following method :
l_stream.GoToPreviousMatchingToken(l_stream.Token, START_TOKEN_ID);
Any idea ?
Thanks for your help
Regards
Stéphane
I have defined the following PatternGroupe the xml configuration file :
<ExplicitPatternGroup Key="EndIfPatternGroup" TokenID="456" TokenKey="EndIfReservedWordToken" Style="ReservedWordStyle" PatternValue="endIf" StartBracket="IfPatternGroup" CaseSensitivity="Sensitive" />
and I need to retrieve the value of the StartBracket property from a Token
in my code.
In fact, once I will have the StartBracket content,
I will be able to retrieve the TokenId and then,
be able to call the following method :
l_stream.GoToPreviousMatchingToken(l_stream.Token, START_TOKEN_ID);
Any idea ?
Thanks for your help
Regards
Stéphane