MCPcopy Create free account
hub / github.com/crossoverJie/gscript / AllExpr

Method AllExpr

parser/gscript_parser.go:6311–6322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6309}
6310
6311func (s *ExprContext) AllExpr() []IExprContext {
6312 var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IExprContext)(nil)).Elem())
6313 var tst = make([]IExprContext, len(ts))
6314
6315 for i, t := range ts {
6316 if t != nil {
6317 tst[i] = t.(IExprContext)
6318 }
6319 }
6320
6321 return tst
6322}
6323
6324func (s *ExprContext) Expr(i int) IExprContext {
6325 var t = s.GetTypedRuleContext(reflect.TypeOf((*IExprContext)(nil)).Elem(), i)

Callers 8

ExitExprMethod · 0.45
VisitExprMethod · 0.45
buildParamValuesMethod · 0.45
VisitExpressionListMethod · 0.45
ExitBlockStmsMethod · 0.45
ExitExprMethod · 0.45
getParamTypesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected