private AphidObject InterpretLoadLibraryExpression(LoadLibraryExpression expression) { var library = ValueHelper.Unwrap(InterpretExpression(expression.LibraryExpression)) as string; if (library == null) { throw new AphidRuntimeException("Cannot load script {0}", expression.LibraryExpression); } _loader.LoadLibrary(library, _currentScope.Variables); return(null); }
[DebuggerStepThrough] protected virtual void EmitLoadLibraryExpression(LoadLibraryExpression expression, bool isStatement = false) { throw new NotImplementedException(); }