(ctx *parser.ClassOrInterfaceTypeContext)
| 182 | } |
| 183 | |
| 184 | func (t *TypeResolver) EnterClassOrInterfaceType(ctx *parser.ClassOrInterfaceTypeContext) { |
| 185 | scope := t.at.FindEncloseScopeOfNode(ctx) |
| 186 | class := t.at.FindClass(scope, ctx.GetText()) |
| 187 | t.at.PutTypeOfNode(ctx, class) |
| 188 | } |
| 189 | |
| 190 | // ExitPrimitiveType 记录当前 ctx 的基本类型 |
| 191 | func (t *TypeResolver) ExitPrimitiveType(ctx *parser.PrimitiveTypeContext) { |
nothing calls this directly
no test coverage detected