import { BodyBasedExpression } from '../Expression' ; import { OclExecutionContext } from '../../OclExecutionContext' ; oclExpression oclExample export class DivExpression extends BodyBasedExpression { evaluate ( visitor , localVariables ? ) { const { source , body } = this . _evaluateBodyAndSource ( visitor , localVariables ) ; return Math . floor ( body / source ) ; } }