예제 #1
0
 NumberToken operator()(const Reference& R)const
 {
     if( R.IsNull() )
         throw NullReferenceException("Dereferencing a nullreference");
     else
         throw std::logic_error("Table is not convertible to a number");
 }
예제 #2
0
 std::string operator()(const Reference& ref)const
 {
     if( ref.IsNull() )
         throw NullReferenceException("Dereferencing a nullreference");
     else
         return "Reference -> table";
 }
예제 #3
0
Variable * Variable_null::at(const str8 &index) const {
	throw NullReferenceException();
	return 0;
}
예제 #4
0
Variable * Variable_null::at(size_t index) const {
	throw NullReferenceException();
	return 0;
}
예제 #5
0
 NumberToken operator()(const NullReference&)const
 {
     throw NullReferenceException("Dereferencing a null reference");
 }
예제 #6
0
 std::string operator()(const NullReference&)const
 {
     throw NullReferenceException("Dereferencing a null reference");
 }