Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1021901 // gazelle_cloneCtx

JavaX fragment (include)

static GazelleEvalContext gazelle_cloneCtx(GazelleEvalContext ctx) {
  GazelleEvalContext ctx2 = shallowClone(ctx);
  ctx2.engine = new RuleEngine2;
  ctx2.engine.copyRulesFrom(ctx.engine);
  ret ctx2;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021901
Snippet name: gazelle_cloneCtx
Eternal ID of this version: #1021901/1
Text MD5: 3b91f4d09b61a68b7ad05eadfe5c7b29
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-03 11:32:45
Source code size: 208 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 275 / 320
Referenced in: [show references]