예제 #1
0
 private void EmitLink(LinkRef lref)
 {
     PatternCompiler.PatternLinkStack patternLinkStack = (PatternCompiler.PatternLinkStack)lref;
     patternLinkStack.OffsetAddress = this.CurrentAddress;
     this.Emit(0);
     patternLinkStack.Push();
 }
예제 #2
0
 public void ResolveLink(LinkRef lref)
 {
     PatternCompiler.PatternLinkStack patternLinkStack = (PatternCompiler.PatternLinkStack)lref;
     while (patternLinkStack.Pop())
     {
         this.pgm[patternLinkStack.OffsetAddress] = (ushort)patternLinkStack.GetOffset(this.CurrentAddress);
     }
 }
예제 #3
0
 private void BeginLink(LinkRef lref)
 {
     PatternCompiler.PatternLinkStack patternLinkStack = (PatternCompiler.PatternLinkStack)lref;
     patternLinkStack.BaseAddress = this.CurrentAddress;
 }