Beispiel #1
0
	void TokenStream::push(const TokenStream& other)
	{
		std::copy(other.begin(), other.end(), std::back_inserter(tokens));
	}
Beispiel #2
0
	//Converts a number TokenStream into an actual number.
	Value convert(const TokenStream& stream)
	{
		Value result;
		convert(stream.begin(), stream.end(), result);
		return result;
	}