Beispiel #1
0
        public override void Visit(PtrDerefAST ptrDerefAST)
        {
            ptrDerefAST.Expression.Accept(this);

            var PointerType = _stateInfo.currentType as PtrTypeAST;

            if (PointerType == null)
            {
                throw new Exception("Cannot dereference a non-pointer type");
            }

            _stateInfo.currentType = PointerType.Type;
        }
Beispiel #2
0
 public override void Visit(PtrDerefAST ptrDerefAST)
 {
 }
Beispiel #3
0
 public virtual void Visit(PtrDerefAST ptrDerefAST)
 {
 }