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:
parent
31ce3adc19
commit
0cbed4a779
@ -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) ::= <<
|
||||
|
Loading…
x
Reference in New Issue
Block a user