MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / ParseToAST

Function ParseToAST

tests/external/gmock-1.7.0/gtest/scripts/pump.py:577–581  ·  view source on GitHub ↗

Convert the given Pump source text into an AST.

(pump_src_text)

Source from the content-addressed store, hash-verified

575
576
577def ParseToAST(pump_src_text):
578 """Convert the given Pump source text into an AST."""
579 tokens = list(Tokenize(pump_src_text))
580 code_node = ParseCodeNode(tokens)
581 return code_node
582
583
584class Env:

Callers 1

ConvertFromPumpSourceFunction · 0.85

Calls 2

TokenizeFunction · 0.85
ParseCodeNodeFunction · 0.85

Tested by

no test coverage detected