Added a method that allows getting name of variable

This commit is contained in:
Lukasz Baldyga committed 2020-12-03 00:14:54 +00:00
1 parent 3cb58ca6b1
commit 6724e8a3e7
1 file changed
+4
@@ -115,5 +115,9 @@ namespace Advanced_Software_Engineering.Verbs.Value {
public string GetDescription() { public string GetDescription() {
return "Declares the variable " + name; return "Declares the variable " + name;
} }
public string GetName() {
return name;
}
} }
} }