public void VisitArrayAccessSymbol(ArrayAccessSymbol aas) { if (aas.Base != null) aas.Base.Accept(this); else GenUfcsAndStaticProperties(aas); }
public void VisitArrayAccessSymbol(ArrayAccessSymbol aas) { isVariableInstance = true; if (aas.Base != null) aas.Base.Accept(this); else GenUfcsAndStaticProperties(aas); }
public void VisitArrayAccessSymbol(ArrayAccessSymbol t) { AcceptType(t.Base); sb.Append('['); if (t.DeclarationOrExpressionBase != null) sb.Append(t.DeclarationOrExpressionBase.ToString()); sb.Append(']'); }
public void VisitArrayAccessSymbol(ArrayAccessSymbol t) { AcceptType(t.Base); sb.Append('['); if (t.DeclarationOrExpressionBase != null) { sb.Append(t.DeclarationOrExpressionBase.ToString()); } sb.Append(']'); }
public ITypeDeclaration VisitArrayAccessSymbol(ArrayAccessSymbol t) { var ad = new ArrayDecl { ValueType = AcceptType(t.Base) }; if (t.DeclarationOrExpressionBase is IExpression) { ad.KeyExpression = t.DeclarationOrExpressionBase as IExpression; } else { ad.KeyType = t.DeclarationOrExpressionBase as ITypeDeclaration; } return(ad); }
public void VisitArrayAccessSymbol(ArrayAccessSymbol t) { AcceptType(t.Base); sb.Append('['); if (t.indexExpression != null) sb.Append(t.indexExpression.ToString()); sb.Append(']'); }