MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / ParseCodeNode

Function ParseCodeNode

engine/source/testing/googleTest/scripts/pump.py:564–574  ·  view source on GitHub ↗
(tokens)

Source from the content-addressed store, hash-verified

562
563
564def ParseCodeNode(tokens):
565 atomic_code_list = []
566 while True:
567 if not tokens:
568 break
569 atomic_code_node = ParseAtomicCodeNode(tokens)
570 if atomic_code_node:
571 atomic_code_list.append(atomic_code_node)
572 else:
573 break
574 return CodeNode(atomic_code_list)
575
576
577def ParseToAST(pump_src_text):

Callers 3

ParseElseNodeFunction · 0.85
ParseAtomicCodeNodeFunction · 0.85
ParseToASTFunction · 0.85

Calls 3

ParseAtomicCodeNodeFunction · 0.85
CodeNodeClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected