|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jatha.Macro | +--macros.CTOR
CTOR(prop1, prop2, ...)
The CTOR (short for constructor) macro declares a constructor. In order to use the CTOR macro, you must have used the CLASS macro when declaring your class, and the PROP macro when declaring the properties. Example:
public @CLASS(Point) {
CLASS
,
PROP
Fields inherited from class jatha.Macro |
util |
Constructor Summary | |
CTOR()
|
Method Summary | |
void |
expand(java.lang.String[] args,
java.io.Writer out,
Expander expander)
Expands the macro |
Methods inherited from class jatha.Macro |
expand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CTOR()
Method Detail |
public void expand(java.lang.String[] args, java.io.Writer out, Expander expander) throws java.io.IOException
expand
in class Macro
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |