MCPcopy Create free account
hub / github.com/SplootCode/splootcode / convertOperator

Function convertOperator

python/convert_ast.py:28–32  ·  view source on GitHub ↗
(astOp)

Source from the content-addressed store, hash-verified

26
27
28def convertOperator(astOp):
29 if type(astOp) in AST_OPERATORS:
30 return AST_OPERATORS[type(astOp)]
31 if type(astOp) in UNARY_AST_OPERATORS:
32 return UNARY_AST_OPERATORS[type(astOp)]
33
34def SplootNode(type, childSets={}, properties={}, metadata=None):
35 node = {

Calls

no outgoing calls

Tested by

no test coverage detected