MCPcopy Create free account
hub / github.com/nodejs/node / BuildUnaryOperation

Method BuildUnaryOperation

deps/v8/tools/cppgc/gen_cmake.py:368–372  ·  view source on GitHub ↗
(self, op, right)

Source from the content-addressed store, hash-verified

366 return ''.join(['(', operation, ')'])
367
368 def BuildUnaryOperation(self, op, right):
369 OPS = {
370 'neg': 'NOT',
371 }
372 return ' '.join([OPS[op], right])
373
374 def BuildBinaryOperation(self, left, op, right):
375 if op == 'ne':

Callers 2

BuildBinaryOperationMethod · 0.95
_UnaryExprMethod · 0.80

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected