2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-06 16:57:25 +00:00

ZoneCodeGenerator: Replace OperandDynamics static array indices with Evaluations

This commit is contained in:
Jan
2019-12-23 23:46:04 +01:00
parent db8e4c987c
commit 62ac2e8aae
3 changed files with 32 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ namespace ZoneCodeGenerator.Domain.Evaluation
{
public StructureInformation Structure { get; }
public IList<MemberInformation> ReferencedMemberChain { get; }
public IList<int> ArrayIndices { get; }
public IList<IEvaluation> ArrayIndices { get; }
public bool IsStatic => false;
@@ -17,7 +17,7 @@ namespace ZoneCodeGenerator.Domain.Evaluation
{
Structure = structure;
ReferencedMemberChain = new List<MemberInformation>(memberChain);
ArrayIndices = new List<int>();
ArrayIndices = new List<IEvaluation>();
}
public int EvaluateNumeric()