Пример #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;
 }