MCPcopy Create free account
hub / github.com/MauriceGit/compiler / semanticAnalysis

Function semanticAnalysis

semanticAnalyzer.go:1282–1373  ·  view source on GitHub ↗

analyzeTypes traverses the tree and analyzes variables with their corresponding type recursively from expressions! returns an error if we have a type missmatch anywhere!

(ast AST)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compileFunction · 0.85

Calls 3

analyzeBlockFunction · 0.85
setSystemFunctionUsageFunction · 0.85
setFunMethod · 0.80

Tested by

no test coverage detected