MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / visit

Method visit

Externals/MathMLSolver/src/MathMLSerializationVisitor.cpp:32–47  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

30
31 //-------------------------------------------------------------------------------------------
32 void SerializationVisitor::visit( const AST::ArithmeticExpression* const node )
33 {
34 writeStartElement( ELEMENT_APPLY_NAME );
35 writeLineBreak();
36 writeEmptyElement( SerializationUtil::getArithmeticOperatorElementName( node->getOperator() ) );
37 writeLineBreak();
38 const AST::NodeList& children = node->getOperands();
39
40 for ( unsigned int i = 0; i < children.size(); ++i )
41 {
42 children.at( i ) ->accept( this );
43 }
44
45 writeEndElement( ELEMENT_APPLY_NAME );
46 writeLineBreak();
47 }
48
49 //-------------------------------------------------------------------------------------------
50 void SerializationVisitor::visit( const AST::BinaryComparisonExpression* const node )

Callers

nothing calls this directly

Calls 11

getLeftOperandMethod · 0.80
getRightOperandMethod · 0.80
getFragmentMethod · 0.80
getOperandMethod · 0.80
getOperatorMethod · 0.45
sizeMethod · 0.45
acceptMethod · 0.45
getNameMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected