예제 #1
0
 public void Reset(string name)
 {
     Locals.Clear();
     Staments.Clear();
     actual_content = new ContentCILMethod(name);
 }
예제 #2
0
 public ContextMethodCIL()
 {
     actual_content = new ContentCILMethod("class");
 }
예제 #3
0
 public void ClearContext()
 {
     actual_content = actual_content.father;
 }
예제 #4
0
 public ContentCILMethod(string name, ContentCILMethod father = null)
 {
     this.name = name; this.father = father; gen = new GenerateContinuosLabel(name);
 }
예제 #5
0
 public void AddContext(string name)
 {
     actual_content = actual_content.CreateChild(name);
 }