1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

add import and modify package templates for imports

This commit is contained in:
Kevin Glynn 2011-01-07 16:14:17 +01:00
parent 31ce3adc19
commit 0cbed4a779

View File

@ -16,16 +16,20 @@ itsmine(now, includeDate) ::= <<
>>
package(now, includeDate, packageName, comments, modifiers, type, endComments) ::= <<
package(now, includeDate, packageName, imports, comments, modifiers, type, endComments) ::= <<
<itsmine(now=now,includeDate=includeDate)>
<if(packageName)>package <packageName>;<endif>
<comments; separator="\n">
<imports>
<type>
<endComments; separator="\n">
>>
import_template(ns) ::= "import <ns>;"
// ******* CLASSES ***********
class(modifiers, comments, attributes, name, typeparams, extends, imps, body) ::= <<