Hi,
I want to define somen properties in my customize token class(inherit from MergeableToken class), and set value in the SemanticParser class, but when I use these properties in the XXXSyntaxLanguage class through
"((MyTokenClass)Document.GetTextStream(offset).Token).SomeProperties", the value is incorrect. How can I do that?
I knew that in DynamicToken class have "SemanticParseData" property, but what is the same one in non-DynamicToken class ?
In other words, how can I store some data to the tokens in SemanticParser, and get these data in other class after parser the document?
I used non-dynamic language definition.
Thanks
I want to define somen properties in my customize token class(inherit from MergeableToken class), and set value in the SemanticParser class, but when I use these properties in the XXXSyntaxLanguage class through
"((MyTokenClass)Document.GetTextStream(offset).Token).SomeProperties", the value is incorrect. How can I do that?
I knew that in DynamicToken class have "SemanticParseData" property, but what is the same one in non-DynamicToken class ?
In other words, how can I store some data to the tokens in SemanticParser, and get these data in other class after parser the document?
I used non-dynamic language definition.
Thanks