Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ ClearAST
Method
ClearAST
parse/parser/state.go:80–83 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
func
(ps *State) ClearAST() {
81
ps.Syms.ClearAST()
82
ps.Scopes.ClearAST()
83
}
84
85
func
(ps *State) Destroy() {
86
if
ps.AST != nil && ps.AST.This != nil {
Callers
3
Init
Method · 0.95
Destroy
Method · 0.95
Destroy
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected