Exemple #1
0
 public override void VisitDataBlockReferenceExpression(DataBlockReferenceExpression expression)
 {
     Write("DataBlocks");
     Write("[");
     Visit(expression.BlockId);
     Write("]");
 }
Exemple #2
0
        public override void VisitDataBlockReferenceExpression(DataBlockReferenceExpression expression)
        {
            var blockRef = new DataBlockReference(_module, expression.BlockId);

            _dataBlocks.Add(blockRef);

            base.VisitDataBlockReferenceExpression(expression);
        }
Exemple #3
0
 internal static DataBlockAccessExpression ArrayAccess(DataBlockReferenceExpression blockReference, Expression elementIndex)
 => new DataBlockAccessExpression(blockReference, elementIndex);
Exemple #4
0
 internal DataBlockAccessExpression(DataBlockReferenceExpression blockReference, Expression elementIndex)
 {
     BlockReference = blockReference;
     ElementIndex   = elementIndex;
 }