Glossary entry

English term or phrase:

exposes

Chinese translation:

突出显示

Added to glossary by clearwater
Jun 18, 2011 00:49
13 yrs ago
English term

exposes

English to Chinese Tech/Engineering IT (Information Technology) Wax framework
The object-oriented model
Another problem with Lua is that it does not have an inheritance system like Objective-C. There are no classes at all in Lua. To work around this problem, Wax ***exposes*** a function that goes at the top of every Wax Lua file: waxClass. In the default AppDelegate.lua, the line looks like this:
waxClass{"AppDelegate", protocols = {"UIApplicationDelegate"}}

专业说法叫什么?
Proposed translations (Chinese)
4 显示
2 公开

Discussion

Ambrose Li Jun 20, 2011:
找到一點東西了 http://mobileorchard.com/announcing-iphone-wax-native-uikit-...

Have a look at the top line, the one beginning with waxClass. This line is key. It declares a Lua class that bridges to CocoaTouch and declares the protocols it implements. The remainder of the code is the implementation of the constructor and the callbacks for the protocols.

注意文中對第一行 (waxClass) 的解釋:這行的功用是將 Lua 代碼和 CocoaTouch 連起來 (bridge),換句話說,就是將一些本來無法存取的東西「expose」了出來。這完全是代碼之間的溝通,和顯示沒有任何關係。
Ambrose Li Jun 20, 2011:
應該也不是,但找不到什麼可以解釋這個。我不懂這些術語的中文,是一個問題。
clearwater (asker) Jun 18, 2011:
公示?

Proposed translations

11 mins
Selected

显示

display 的意思
Something went wrong...
4 KudoZ points awarded for this answer. Comment: "谢谢!"
4 hrs

公开

不太清楚中文的叫法,但是 expose 在这里是 object oriented programming 或者 abstract data type 一类东西的术语,指提供一种方法来使用一个/一些本来是私有的东西(类如函数、变数、界面等等)
Something went wrong...
Term search
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search