Oeed

Silica Class Function Snippet

Jun 8th, 2015
286
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <snippet>
  2.     <content><![CDATA[
  3. --[[
  4.     @${3:instance}
  5.     @desc ${4:Description}
  6.     @param [${5:type}] ${6:arg1} -- ${7:description}
  7.     @param [${8:type}] ${9:arg2} -- ${10:description}
  8.     @param [${11:type}] ${12:arg3} -- ${13:description}
  9.     @return [${14:type}] ${15:returnedValue} -- ${16:description}
  10. ]]
  11. function ${1:Class}:${2:functionName}( ${6:arg1}, ${9:arg2}, ${12:arg3} )
  12.     return ${15:returnedValue}
  13. end
  14. ]]></content>
  15.     <tabTrigger>f:</tabTrigger>
  16.     <scope>source.computercraft</scope>
  17. </snippet>
RAW Paste Data