Posted 16 years ago
by BLANC Stéphane
-
Staubli Robotics Suite Product Manager,
STAUBLI
Version: 4.0.0271
![Avatar](https://secure.gravatar.com/avatar/4615596a29d8a4534822ffc1b58fbb3d.jpg?s=64&d=identicon&r=g)
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