Private
Public Access
Formatting
This commit is contained in:
1 parent
f39a3d3ca2
commit
07b7e86a63
1 file changed
+2
-2
@@ -106,7 +106,7 @@ namespace Advanced_Software_Engineering {
|
|||||||
DeclareVariable[] methodParameters = new DeclareVariable[] { };
|
DeclareVariable[] methodParameters = new DeclareVariable[] { };
|
||||||
|
|
||||||
//if assignments exist, make them
|
//if assignments exist, make them
|
||||||
if(commandParameters.Length > 1) {
|
if (commandParameters.Length > 1) {
|
||||||
List<DeclareVariable> methodParameterList = new List<DeclareVariable>();
|
List<DeclareVariable> methodParameterList = new List<DeclareVariable>();
|
||||||
for (int index = 1; index < commandParameters.Length; index++) {
|
for (int index = 1; index < commandParameters.Length; index++) {
|
||||||
methodParameterList.Add(new DeclareVariable(rootValueStorage, commandParameters[index]));
|
methodParameterList.Add(new DeclareVariable(rootValueStorage, commandParameters[index]));
|
||||||
@@ -137,7 +137,7 @@ namespace Advanced_Software_Engineering {
|
|||||||
int parameterLength = parameters.Count;
|
int parameterLength = parameters.Count;
|
||||||
|
|
||||||
//Check if method
|
//Check if method
|
||||||
if(drawer.Methods.ContainsKey(command)) {
|
if (drawer.Methods.ContainsKey(command)) {
|
||||||
MethodChunk methodChunk = drawer.Methods[command];
|
MethodChunk methodChunk = drawer.Methods[command];
|
||||||
string[] methodVariableNames = methodChunk.GetVariableNames().ToArray();
|
string[] methodVariableNames = methodChunk.GetVariableNames().ToArray();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user