Private
Public Access
Added a method that allows getting name of variable
This commit is contained in:
1 parent
3cb58ca6b1
commit
6724e8a3e7
1 file changed
+4
+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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user