subclass.vm

来自「velocity 的脚本语言的全部代码集合」· VM 代码 · 共 27 行

VM
27
字号
#**@test subclass.vmThis template is used for Velocity regression testing.If you alter this template make sure you change thecorresponding comparison file so that the regression test doesn't fail incorrectly.*### This is our base class.#set($person = $provider.Person)## This is a subclass of Person#set($child = $provider.Child)#*showPerson takes a person object, so check tosee that subclasses of Person work too!*#$provider.showPerson($person)$provider.showPerson($child)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?