import { SourceBasedExpression } from '../Expression' ; import { OclExecutionContext } from '../../OclExecutionContext' ; oclExpression oclExample export class AbsExpression extends SourceBasedExpression { evaluate ( visitor , localVariables ? ) { const left = this . getSource ( ) . evaluate ( visitor , localVariables ) ; return Math . abs ( left ) ; } }