MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / opword

Method opword

src/liboslcomp/ast.cpp:847–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845
846
847const char *
848ASTassign_expression::opword () const
849{
850 switch (m_op) {
851 case Assign : return "assign";
852 case Mul : return "mul";
853 case Div : return "div";
854 case Add : return "add";
855 case Sub : return "sub";
856 case BitAnd : return "bitand";
857 case BitOr : return "bitor";
858 case Xor : return "xor";
859 case ShiftLeft : return "shl";
860 case ShiftRight : return "shr";
861 default: ASSERT (0 && "unknown assignment expression");
862 }
863}
864
865
866

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected