@@ -263,6 +263,7 @@ class Token:
263263 isComplex
264264 isRestrict
265265 isAttributeExport
266+ isAnonymous
266267 varId varId for token, each variable has a unique non-zero id
267268 exprId exprId for token, each expression has a unique non-zero id
268269 variable Variable information for this token. See the Variable class.
@@ -324,6 +325,7 @@ class Token:
324325 isComplex = False
325326 isRestrict = False
326327 isAttributeExport = False
328+ isAnonymous = False
327329 exprId = None
328330 varId = None
329331 variableId = None
@@ -407,6 +409,8 @@ def __init__(self, element):
407409 self .isRestrict = True
408410 if element .get ('isAttributeExport' ):
409411 self .isAttributeExport = True
412+ if element .get ('isAnonymous' ):
413+ self .isAnonymous = True
410414 self .linkId = element .get ('link' )
411415 self .link = None
412416 if element .get ('varId' ):
@@ -440,7 +444,7 @@ def __repr__(self):
440444 "isChar" , "isBoolean" , "isOp" , "isArithmeticalOp" , "isAssignmentOp" ,
441445 "isComparisonOp" , "isLogicalOp" , "isCast" , "externLang" , "isExpandedMacro" ,
442446 "isRemovedVoidParameter" , "isSplittedVarDeclComma" , "isSplittedVarDeclEq" ,
443- "isImplicitInt" , "isComplex" , "isRestrict" , "isAttributeExport" , "linkId " ,
447+ "isImplicitInt" , "isComplex" , "isRestrict" , "isAttributeExport" , "isAnonymous " , "linkId" ,
444448 "varId" , "variableId" , "functionId" , "valuesId" , "valueType" ,
445449 "typeScopeId" , "astParentId" , "astOperand1Id" , "file" ,
446450 "linenr" , "column" ]
0 commit comments