|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.treeparser.BufferScope
public class BufferScope
A record of a BufferSymbol scope to a Block. Tells us if the scope is "strong" or not.
Field Summary | |
---|---|
static int |
HIDDEN_CURSOR
A "hidden cursor" is a BufferScope which has no side-effects on surrounding blocks like strong, weak, and reference scopes do. |
static int |
REFERENCE
|
static int |
STRONG
|
static int |
WEAK
|
Constructor Summary | |
---|---|
BufferScope()
Only to be used for persistence/serialization. |
|
BufferScope(Block block,
TableBuffer symbol,
int strength)
|
Method Summary | |
---|---|
Block |
getBlock()
|
TableBuffer |
getSymbol()
|
boolean |
isStrong()
|
boolean |
isWeak()
|
void |
setBlock(Block block)
|
void |
setStrength(int strength)
|
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 STRONG
public static final int WEAK
public static final int REFERENCE
public static final int HIDDEN_CURSOR
Constructor Detail |
---|
public BufferScope()
public BufferScope(Block block, TableBuffer symbol, int strength)
Method Detail |
---|
public Block getBlock()
public TableBuffer getSymbol()
public boolean isStrong()
public boolean isWeak()
public void setBlock(Block block)
public void setStrength(int strength)
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 |