Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossoverJie/gscript
/ GetText
Method
GetText
syntax/syntax.go:55–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
return
a.nodeType
54
}
55
func
(a *ASTNode) GetText() string {
56
return
a.text
57
}
58
59
func
(a *ASTNode) GetChildren() []*ASTNode {
60
return
a.children
Callers
14
Print
Method · 0.95
VisitFunctionCall
Method · 0.80
getFunctionObject
Method · 0.80
VisitLiteral
Method · 0.80
TestGScriptVisitor_Visit_Lexer
Function · 0.80
EvaluateWithRuntime
Function · 0.80
EnterVariableDeclaratorId
Method · 0.80
EnterClassOrInterfaceType
Method · 0.80
ExitPrimary
Method · 0.80
ExitBlockStms
Method · 0.80
ExitFunctionCall
Method · 0.80
ExitExpr
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestGScriptVisitor_Visit_Lexer
Function · 0.64