lib/jsonscript.js
function addCoreInstructions() {
  this._validateInstruction = this.ajv.compile(require('jsonscript/schema/instruction.json'));
  coreInstructions.forEach(function (inst) {
    this.addInstruction(inst, instructionKeywords[inst.evaluate.validatorKeyword], false);
  }, this);
}
function addCoreInstructions() {
  this._validateInstruction = this.ajv.compile(require('jsonscript/schema/instruction.json'));
  coreInstructions.forEach(function (inst) {
    this.addInstruction(inst, instructionKeywords[inst.evaluate.validatorKeyword], false);
  }, this);
}
function addCoreInstructions ( ) { this . _validateInstruction = this . ajv . compile ( require ( 'jsonscript/schema/instruction.json' ) ) ; coreInstructions . forEach ( function ( inst ) { this . addInstruction ( inst , instructionKeywords [ inst . evaluate . validatorKeyword ] , false ) ; } , this ) ; }
private function to add all standard JSONScript instructions to the interpreter
@this JSONScript
private function to add all standard JSONScript instructions to the interpreter