You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
booljsvIsBasicName(constJsVar*v) { returnv&& (v->flags&JSV_VARTYPEMASK)>=JSV_NAME_STRING_0&& (v->flags&JSV_VARTYPEMASK)<=JSV_NAME_STRING_MAX; } ///< Simple NAME that links to a variable via firstChild
100
100
/// Names with values have firstChild set to a value - AND NOT A REFERENCE
booljsvIsNameInt(constJsVar*v) { returnv&& ((v->flags&JSV_VARTYPEMASK)==JSV_NAME_INT_INT|| ((v->flags&JSV_VARTYPEMASK)>=JSV_NAME_STRING_INT_0&& (v->flags&JSV_VARTYPEMASK)<=JSV_NAME_STRING_INT_MAX)); }///< Is this a NAME pointing to an Integer value
/// What happens when we access a variable that doesn't exist. We get a NAME where the next + previous siblings point to the object that may one day contain them
Copy file name to clipboardExpand all lines: src/jsvar.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -429,7 +429,7 @@ extern bool jsvIsName(const JsVar *v); ///< NAMEs are what's used to name a vari
429
429
booljsvIsBasicName(constJsVar*v); ///< Simple NAME that links to a variable via firstChild
430
430
/// Names with values have firstChild set to a value - AND NOT A REFERENCE
431
431
externbooljsvIsNameWithValue(constJsVar*v);
432
-
externbooljsvIsNameInt(constJsVar*v);
432
+
externbooljsvIsNameInt(constJsVar*v);///< Is this a NAME pointing to an Integer value
433
433
externbooljsvIsNameIntInt(constJsVar*v);
434
434
externbooljsvIsNameIntBool(constJsVar*v);
435
435
/// What happens when we access a variable that doesn't exist. We get a NAME where the next + previous siblings point to the object that may one day contain them
0 commit comments