|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectantlr.CommonHiddenStreamToken
com.joanju.proparse.ProToken
public class ProToken
| Constructor Summary | |
|---|---|
ProToken()
Only to be used for persistence/serialization. |
|
ProToken(IntegerIndex<java.lang.String> filenameList,
int type,
java.lang.String s)
|
|
ProToken(IntegerIndex<java.lang.String> filenameList,
int type,
java.lang.String txt,
int file,
int line,
int col,
int macroSourceNum)
|
|
ProToken(ProToken orig)
|
|
| Method Summary | |
|---|---|
int |
getFileIndex()
|
java.lang.String |
getFilename()
|
IntegerIndex<java.lang.String> |
getFilenameList()
A reference to the collection of filenames from the parse. |
int |
getMacroSourceNum()
|
ProToken |
getNext()
Convenience method for (ProToken) getHiddenAfter(). |
ProToken |
getPrev()
Convenience method for (ProToken) getHiddenBefore(). |
void |
setFileIndex(int fileIndex)
|
void |
setFilenameList(IntegerIndex<java.lang.String> filenameList)
A reference to the collection of filenames from the parse. |
void |
setHiddenAfter(ProToken t)
|
void |
setHiddenBefore(ProToken t)
|
void |
setMacroSourceNum(int macroSourceNum)
|
void |
writeXferBytes(DataXferStream out)
Implement Xferable. |
void |
writeXferSchema(DataXferStream out)
Write's this object's class's schema to the DataXferStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProToken()
public ProToken(IntegerIndex<java.lang.String> filenameList,
int type,
java.lang.String s)
public ProToken(IntegerIndex<java.lang.String> filenameList,
int type,
java.lang.String txt,
int file,
int line,
int col,
int macroSourceNum)
public ProToken(ProToken orig)
| Method Detail |
|---|
public int getFileIndex()
public IntegerIndex<java.lang.String> getFilenameList()
public java.lang.String getFilename()
public int getMacroSourceNum()
public ProToken getNext()
public ProToken getPrev()
public void setHiddenAfter(ProToken t)
public void setHiddenBefore(ProToken t)
public void setFileIndex(int fileIndex)
public void setFilenameList(IntegerIndex<java.lang.String> filenameList)
public void setMacroSourceNum(int macroSourceNum)
public void writeXferBytes(DataXferStream out)
throws java.io.IOException
writeXferBytes in interface Xferablejava.io.IOException
public void writeXferSchema(DataXferStream out)
throws java.io.IOException
Xferable
writeXferSchema in interface Xferablejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||