MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / isBinaryOp

Method isBinaryOp

erpcgen/src/Token.cpp:93–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool Token::isBinaryOp() const
94{
95 if (string::npos != string("+-*/%&|^").find(static_cast<char>(m_token)))
96 {
97 return true;
98 }
99 if (TOK_RSHIFT == m_token || TOK_LSHIFT == m_token)
100 {
101 return true;
102 }
103 return false;
104}

Callers 1

getIntExprValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected