| // Copyright (c) 2006- Facebook |
| // Distributed under the Thrift Software License |
| // See accompanying file LICENSE or visit the Thrift site at: |
| // http://developers.facebook.com/thrift/ |
| #include "t_const_value.h" |
| * A const is a constant value defined across languages that has a type and |
| * a value. The trick here is that the declared type might not match the type |
| * of the value object, since that is not determined until after parsing the |
| * @author Mark Slee <mcslee@facebook.com> |
| class t_const : public t_doc { |
| t_const(t_type* type, std::string name, t_const_value* value) : |
| t_type* get_type() const { |
| std::string get_name() const { |
| t_const_value* get_value() const { |