xml dump: Read scope-type attribute in cppcheckdata.py module
This commit is contained in:
parent
b1e5b015df
commit
27829383a5
|
@ -65,6 +65,7 @@ class Scope:
|
||||||
classEndId = None
|
classEndId = None
|
||||||
classEnd = None
|
classEnd = None
|
||||||
className = None
|
className = None
|
||||||
|
type = None
|
||||||
|
|
||||||
def __init__(self,element):
|
def __init__(self,element):
|
||||||
self.Id = element.get('id')
|
self.Id = element.get('id')
|
||||||
|
@ -75,6 +76,7 @@ class Scope:
|
||||||
self.classEnd = None
|
self.classEnd = None
|
||||||
self.nestedInId = element.get('nestedId')
|
self.nestedInId = element.get('nestedId')
|
||||||
self.nestedIn = None
|
self.nestedIn = None
|
||||||
|
self.type = element.get('type')
|
||||||
|
|
||||||
def setId(self, IdMap):
|
def setId(self, IdMap):
|
||||||
self.classStart = IdMap[self.classStartId]
|
self.classStart = IdMap[self.classStartId]
|
||||||
|
|
Loading…
Reference in New Issue