public void VisitAssocArrayType(AssocArrayType t)
		{
			AcceptType(t.Base);
			sb.Append('[');
			AcceptType(t.KeyType);
			sb.Append(']');
		}
Example #2
0
 public void VisitAssocArrayType(AssocArrayType t)
 {
     AcceptType(t.Base);
     sb.Append('[');
     AcceptType(t.KeyType);
     sb.Append(']');
 }
Example #3
0
 public ITypeDeclaration VisitAssocArrayType(AssocArrayType t)
 {
     return(new ArrayDecl
     {
         ValueType = AcceptType(t.ValueType),
         KeyType = AcceptType(t.KeyType)
     });
 }
Example #4
0
 public AssociativeArrayValue(AssocArrayType baseType, IList<KeyValuePair<ISymbolValue,ISymbolValue>> Elements)
     : base(baseType)
 {
     this.Elements = new ReadOnlyCollection<KeyValuePair<ISymbolValue, ISymbolValue>>(Elements);
 }
 public void VisitAssocArrayType(AssocArrayType aa)
 {
     isVariableInstance = true;
     GenUfcsAndStaticProperties(aa);
 }
		ObjectValue EvaluateAssociativeArray (string exp, AssocArrayType t, ObjectValueFlags flags, ObjectPath path)
		{
			return ObjectValue.CreateNotSupported (ValueSource, path, t.ToCode (), "Associative arrays aren't supported yet", flags);
		}
		public void VisitAssocArrayType(AssocArrayType aa)
		{
			GenUfcsAndStaticProperties(aa);
		}
Example #8
0
 public AssociativeArrayValue(AssocArrayType baseType, IExpression baseExpression,IList<KeyValuePair<ISymbolValue,ISymbolValue>> Elements)
     : base(ExpressionValueType.AssocArray, baseType, baseExpression)
 {
     this.Elements = new ReadOnlyCollection<KeyValuePair<ISymbolValue, ISymbolValue>>(Elements);
 }