diff --git a/sourcecode-parser/source_sink.go b/sourcecode-parser/source_sink.go index 51b642e..b55ad84 100644 --- a/sourcecode-parser/source_sink.go +++ b/sourcecode-parser/source_sink.go @@ -118,6 +118,12 @@ func (gnc *GraphNodeContext) GetValue(key, val string) string { } } return "" + case "scope": + return gnc.Node.Scope + case "variablevalue": + return gnc.Node.VariableValue + case "variabledatatype": + return gnc.Node.DataType default: fmt.Printf("Unsupported attribute key: %s\n", key) return ""