@hclsoftware/secagent
Version:
IAST agent
27 lines (21 loc) • 671 B
JavaScript
//IASTIGNORE
/*
* ****************************************************
* Licensed Materials - Property of HCL.
* (c) Copyright HCL Technologies Ltd. 2017, 2025.
* Note to U.S. Government Users *Restricted Rights.
* ****************************************************
*/
'use strict'
module.exports = class ContextInfo {
constructor(contextList, additionalCtx = "notype") {
this.contextTypesStackBased = contextList
this.additionalContext = additionalCtx
}
getContextTypesStackBased(){
return this.contextTypesStackBased
}
addElementToContextTypesStackBased(ct){
this.contextTypesStackBased.push(ct)
}
}