import { Environment } from '../domain' ; export abstract class BaseEnvironment implements Environment { protected variables : any ; constructor ( variables ? ) { variables = variables || { } ; this . variables = variables ; } get ( key ) { return this . variables [ key ] ; } set ( key , value ) { this . variables [ key ] = value ; } abstract match ( name ) ; }