import { OclExecutionContext } from '../OclExecutionContext' ; import { SourceBasedExpression } from './Expression' ; oclExpression export class OclIsUndefinedExpression extends SourceBasedExpression { evaluate ( visitor , localVariables ? ) { const result = this . getSource ( ) . evaluate ( visitor , localVariables ) ; return ! result || typeof result === 'undefined' ; } }