Compilation finished with warnings:
source.cpp: In function 'std::ostream& NsSemSDK::operator<<(std::ostream&, const STreeConstructionRuleOperationWithOperands&)':
source.cpp:28:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
source.cpp: In function 'int main()':
source.cpp:119:10: warning: unused variable 'result2' [-Wunused-variable]
stdout:
OPERATION( OPERATOR(aaa) ID(bbb) )
stderr:
<m_oOperationWithOperands>
<try>aaa [bbb]</try>
<m_oOperation>
<try>aaa [bbb]</try>
<success> [bbb]</success>
<attributes>[[a, a, a]]</attributes>
</m_oOperation>
<m_oOperandsList>
<try> [bbb]</try>
<m_oOperand>
<try>bbb]</try>
<m_oString>
<try>bbb]</try>
<fail/>
</m_oString>
<m_oRegexp>
<try>bbb]</try>
<fail/>
</m_oRegexp>
<m_oNumber>
<try>bbb]</try>
<fail/>
</m_oNumber>
<m_oIdentifier>
<try>bbb]</try>
<success>]</success>
<attributes>[[[b, b, b]]]</attributes>
</m_oIdentifier>
<success>]</success>
<attributes>[[[b, b, b]]]</attributes>
</m_oOperand>
<success></success>
<attributes>[[[[b, b, b]]]]</attributes>
</m_oOperandsList>
<success></success>
<attributes>[[[a, a, a], [[[b, b, b]]]]]</attributes>
</m_oOperationWithOperands>