1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
use crate::{Env, Value};

pub struct BigInt<'a>(Value<'a>);

impl<'a> BigInt<'a> {
	pub(crate) fn from_value(value: Value) -> BigInt {
		BigInt(value)
	}

	pub fn value(&self) -> Value<'a> {
		self.0
	}

	pub fn env(&self) -> Env<'a> {
		self.0.env()
	}
}