Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossoverJie/gscript
/ GetChildren
Method
GetChildren
syntax/syntax.go:59–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
}
58
59
func
(a *ASTNode) GetChildren() []*ASTNode {
60
return
a.children
61
}
62
63
func
(a *ASTNode) Print(indent string) {
64
fmt.Printf(
"%s %s %s \n"
, indent, a.GetNodeType(), a.GetText())
Callers
4
Print
Method · 0.95
checkReturn
Method · 0.80
EvaluateWithRuntime
Function · 0.80
ExitBlockStms
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected