()
| 1046 | } |
| 1047 | |
| 1048 | func (s *LetContext) VarDecl() IVarDeclContext { |
| 1049 | var t antlr.RuleContext |
| 1050 | for _, ctx := range s.GetChildren() { |
| 1051 | if _, ok := ctx.(IVarDeclContext); ok { |
| 1052 | t = ctx.(antlr.RuleContext) |
| 1053 | break |
| 1054 | } |
| 1055 | } |
| 1056 | |
| 1057 | if t == nil { |
| 1058 | return nil |
| 1059 | } |
| 1060 | |
| 1061 | return t.(IVarDeclContext) |
| 1062 | } |
| 1063 | |
| 1064 | func (s *LetContext) FnDecl() IFnDeclContext { |
| 1065 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected