Added marking capability to Statement
parent
09bb089998
commit
3051d6b66f
|
@ -70,6 +70,7 @@ public class Program
|
|||
public class Statement
|
||||
{
|
||||
private Container container;
|
||||
private bool marked;
|
||||
|
||||
public final void parentTo(Container container)
|
||||
{
|
||||
|
@ -80,6 +81,22 @@ public class Statement
|
|||
{
|
||||
return container;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the ready-to-reference state of this Statement
|
||||
*/
|
||||
public bool isMarked()
|
||||
{
|
||||
return marked;
|
||||
}
|
||||
|
||||
/**
|
||||
* Marks this Statement as ready-to-reference
|
||||
*/
|
||||
public void mark()
|
||||
{
|
||||
marked = true;
|
||||
}
|
||||
}
|
||||
|
||||
public enum AccessorType
|
||||
|
|
Loading…
Reference in New Issue