Exemple #1
0
 public LazyReferenceAtomInstructions(
     AssemblyBuilderSnapshot assemblyBuilderSnapshot,
     DaedalusParser.ReferenceContext referenceContext)
 {
     AssemblyBuilderSnapshot = assemblyBuilderSnapshot;
     ReferenceContext        = referenceContext;
 }
        public void LoadStateFromSnapshot(AssemblyBuilderSnapshot snapshot)
        {
            ActiveExecBlock = snapshot.ActiveExecBlock;

            IsInsideArgList         = snapshot.IsInsideArgList;
            IsInsideAssignment      = snapshot.IsInsideAssignment;
            IsInsideIfCondition     = snapshot.IsInsideIfCondition;
            IsInsideReturnStatement = snapshot.IsInsideReturnStatement;
            AssignmentType          = snapshot.AssignmentType;
            FuncCallCtx             = snapshot.FuncCallCtx;
        }