
Hi,
I am trying to implement content dividers in an 'advanced' language.
I have tried setting the ContentDividerType property on tokens derived from NonMergableTokenBase but the value will not alter from the value None. This is whether the change is tried in either the lexical parser phase (when the token is created) or in the semantic parser phase.
For example in the token constructor (called during the lexical parsing) the following code is being encountered and the condition is true. The assignment statement executes but the value is not altered.NonMergableTokenBase.ContentDividerType is documented as having both Get and Set and it obviously does otherwise the code would not compile.
Is this a bug or am I doing something incorrectly ?
Paul
I am trying to implement content dividers in an 'advanced' language.
I have tried setting the ContentDividerType property on tokens derived from NonMergableTokenBase but the value will not alter from the value None. This is whether the change is tried in either the lexical parser phase (when the token is created) or in the semantic parser phase.
For example in the token constructor (called during the lexical parsing) the following code is being encountered and the condition is true. The assignment statement executes but the value is not altered.
if (m_Id == QTokenId.MyCommand)
{
this.ContentDividerType = TokenContentDividerType.Before;
}
Is this a bug or am I doing something incorrectly ?
Paul