We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1fb21 commit b8040a0Copy full SHA for b8040a0
chc/app/CInstr.py
@@ -39,6 +39,7 @@
39
from chc.app.CFile import CFile
40
from chc.app.CFileDictionary import CFileDictionary
41
from chc.app.CFunction import CFunction
42
+ from chc.app.CLocation import CLocation
43
from chc.app.CLval import CLval
44
from chc.app.CStmt import CStmt
45
from chc.app.CVisitor import CVisitor
@@ -63,6 +64,10 @@ def cfun(self) -> "CFunction":
63
64
def cdictionary(self) -> "CFileDictionary":
65
return self.parent.cdictionary
66
67
+ @property
68
+ def location(self) -> "CLocation":
69
+ return self.cfun.cfiledecls.read_xml_location(self.xnode)
70
+
71
@property
72
def is_assign(self) -> bool:
73
return False
0 commit comments