ValueFlow::Value class Each possible value has a ValueFlow::Value item. Each ValueFlow::Value either has a intvalue or tokvalue C++ class: https://cppcheck.sourceforge.io/devinfo/doxyoutput/classValueFlow_1_1Value.html Attributes: values Possible values
| 916 | |
| 917 | |
| 918 | class ValueFlow: |
| 919 | """ |
| 920 | ValueFlow::Value class |
| 921 | Each possible value has a ValueFlow::Value item. |
| 922 | Each ValueFlow::Value either has a intvalue or tokvalue |
| 923 | C++ class: |
| 924 | https://cppcheck.sourceforge.io/devinfo/doxyoutput/classValueFlow_1_1Value.html |
| 925 | |
| 926 | Attributes: |
| 927 | values Possible values |
| 928 | """ |
| 929 | |
| 930 | Id = None |
| 931 | values = None |
| 932 | |
| 933 | def __init__(self, element): |
| 934 | self.Id = element.get('id') |
| 935 | self.values = [] |
| 936 | |
| 937 | def __repr__(self): |
| 938 | attrs = ["Id", "values"] |
| 939 | return "{}({})".format( |
| 940 | "ValueFlow", |
| 941 | ", ".join(("{}={}".format(a, repr(getattr(self, a))) for a in attrs)) |
| 942 | ) |
| 943 | |
| 944 | |
| 945 | class Suppression: |