Home | History | Annotate | Download | only in cpp

Lines Matching full:code

2 // Use of this source code is governed by a BSD-style license that can be
22 /// Special value passed to constructor to make <code>NULL</code>.
25 /// Default constructor. Creates a <code>Var</code> of type
26 /// <code>Undefined</code>.
29 /// A constructor used to create a <code>Var</code> of type <code>Null</code>.
32 /// A constructor used to create a <code>Var</code> of type <code>Bool</code>.
37 /// A constructor used to create a 32 bit integer <code>Var</code>.
42 /// A constructor used to create a double value <code>Var</code>.
47 /// A constructor used to create a UTF-8 character <code>Var</code>.
50 /// A constructor used to create a UTF-8 character <code>Var</code>.
53 /// A constructor used when you have received a <code>Var</code> as a return
69 // http://code.google.com/p/chromium/issues/detail?id=52105
70 /// This constructor is used when we've given a <code>PP_Var</code> as an
75 /// @param[in] var A <code>Var</code>.
81 /// A constructor for copying a <code>Var</code>.
87 /// This function assigns one <code>Var</code> to another <code>Var</code>.
89 /// @param[in] other The <code>Var</code> to be assigned.
91 /// @return A resulting <code>Var</code>.
97 /// @param[in] other The <code>Var</code> to be compared to this Var.
99 /// @return true if the <code>other</code> <code>Var</code> is the same as
100 /// this <code>Var</code>, otherwise false.
103 /// This function determines if this <code>Var</code> is an undefined value.
105 /// @return true if this <code>Var</code> is undefined, otherwise false.
108 /// This function determines if this <code>Var</code> is a null value.
110 /// @return true if this <code>Var</code> is null, otherwise false.
113 /// This function determines if this <code>Var</code> is a bool value.
115 /// @return true if this <code>Var</code> is a bool, otherwise false.
118 /// This function determines if this <code>Var</code> is a string value.
120 /// @return true if this <code>Var</code> is a string, otherwise false.
123 /// This function determines if this <code>Var</code> is an object.
125 /// @return true if this <code>Var</code> is an object, otherwise false.
128 /// This function determines if this <code>Var</code> is an array.
130 /// @return true if this <code>Var</code> is an array, otherwise false.
133 /// This function determines if this <code>Var</code> is a dictionary.
135 /// @return true if this <code>Var</code> is a dictionary, otherwise false.
138 /// This function determines if this <code>Var</code> is a resource.
140 /// @return true if this <code>Var</code> is a resource, otherwise false.
143 /// This function determines if this <code>Var</code> is an integer value.
144 /// The <code>is_int</code> function returns the internal representation.
150 /// @return true if this <code>Var</code> is an integer, otherwise false.
153 /// This function determines if this <code>Var</code> is a double value.
154 /// The <code>is_double</code> function returns the internal representation.
160 /// @return true if this <code>Var</code> is a double, otherwise false.
163 /// This function determines if this <code>Var</code> is a number.
165 /// @return true if this <code>Var</code> is an int32 or double number,
172 /// This function determines if this <code>Var</code> is an ArrayBuffer.
175 /// AsBool() converts this <code>Var</code> to a bool. Assumes the
179 /// @return A bool version of this <code>Var</code>.
182 /// AsInt() converts this <code>Var</code> to an int32_t. This function
192 /// @return An int32_t version of this <code>Var</code>.
195 /// AsDouble() converts this <code>Var</code> to a double. This function is
205 /// @return An double version of this <code>Var</code>.
208 /// AsString() converts this <code>Var</code> to a string. If this object is
211 /// @return A string version of this <code>Var</code>.
214 /// This function returns the internal <code>PP_Var</code>
215 /// managed by this <code>Var</code> object.
217 /// @return A const reference to a <code>PP_Var</code>.
222 /// Detach() detaches from the internal <code>PP_Var</code> of this
224 /// a <code>PP_Var</code> from an API function where the caller expects the
240 /// @return A string displaying the value of this <code>Var</code>. This
245 /// <code>Var</code> as a possible NULL exception. This class will handle