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; }
public override void Visit(PtrDerefAST ptrDerefAST) { }
public virtual void Visit(PtrDerefAST ptrDerefAST) { }