想请教一下,TType接口中的Apply方法,其作用是什么呢? #112
DustinMaple
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
TType中一共6个Apply方法,我看了他所有的实现,都是visitor.Accept。那为什么没有直接在调用Apply的地方,写成visitor.Accept呢?是为了预留什么扩展吗?或者是其他什么考虑呢?
Beta Was this translation helpful? Give feedback.
All reactions