|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.macrolevel.MacroDef
public class MacroDef
A macro DEFINE (global or scoped) or UNDEFINE or an include argument (named or numbered/positional).
Field Summary | |
---|---|
int |
column
|
static int |
GLOBAL
|
IncludeRef |
includeRef
For an include argument - what include reference is it for? |
int |
line
|
java.lang.String |
name
|
static int |
NAMEDARG
|
static int |
NUMBEREDARG
|
MacroRef |
parent
The source where this definition can be found |
static int |
SCOPED
|
int |
type
One of this class's values: GLOBAL, SCOPED, UNDEFINE, NAMEDARG, NUMBEREDARG |
static int |
UNDEFINE
|
MacroDef |
undefWhat
For an UNDEFINE - undef what? |
java.lang.String |
value
|
Constructor Summary | |
---|---|
MacroDef()
|
Method Summary | |
---|---|
MacroRef |
getParent()
|
int[] |
getPosition()
Returns int[3] of file/line/column. |
void |
writeXferBytes(DataXferStream out)
Implement Xferable. |
void |
writeXferSchema(DataXferStream out)
Implement Xferable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GLOBAL
public static final int SCOPED
public static final int UNDEFINE
public static final int NAMEDARG
public static final int NUMBEREDARG
public int column
public int line
public int type
public MacroDef undefWhat
public IncludeRef includeRef
public MacroRef parent
public java.lang.String name
public java.lang.String value
Constructor Detail |
---|
public MacroDef()
Method Detail |
---|
public MacroRef getParent()
getParent
in interface MacroEvent
public int[] getPosition() throws RefactorException
MacroEvent
getPosition
in interface MacroEvent
RefactorException
public void writeXferBytes(DataXferStream out) throws java.io.IOException
writeXferBytes
in interface Xferable
java.io.IOException
public void writeXferSchema(DataXferStream out) throws java.io.IOException
writeXferSchema
in interface Xferable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |