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

12
LINES

< > BotCompany Repo | #1021980 // gazelle_addHelpers - should not use the engine itself, just the rules

JavaX fragment (include)

1  
svoid gazelle_addHelpers(GazelleEvalContext ctx, O... _) {
2  
  if (ctx.engine.hasHelpers) ret;
3  
  print("Adding helpers");
4  
  ctx.engine.hasHelpers = true;
5  
  gazelle_addHelperTablesToRules(ctx.engine);
6  
  gazelle_addVarSplittersToRules(ctx.engine, _);
7  
  gazelle_addVarDiscriminators(ctx.engine, _);
8  
  gazelle_addVarConvertersToRules(ctx.engine, _);
9  
  gazelle_addCalculationFunctionsToRules(ctx.engine, _);
10  
  gazelle_addRespondToHumanOnlyHelpers(ctx.engine, _);
11  
  gazelle_addForbiddenBindingHelpers(ctx.engine, _);
12  
}

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: #1021980
Snippet name: gazelle_addHelpers - should not use the engine itself, just the rules
Eternal ID of this version: #1021980/3
Text MD5: 3d4f2325336347d7b947bf5293a97b92
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-06 12:27:20
Source code size: 523 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 318
Version history: 2 change(s)
Referenced in: [show references]