public AphidObject GetReturnValue() { AphidObject retVal = null; if (_currentScope.TryResolve(_return, out retVal)) { _currentScope.Remove(_return); } return(retVal); }
private AphidObject InterpretIdentifierExpression(IdentifierExpression expression) { AphidObject obj; if (_currentScope.TryResolve(expression.Identifier, out obj)) { return(obj); } else { return(null); } }