Exemple #1
0
 public static Type FindType(QualifiedName name)
 {
     Type t = null;
     string typename = name.ToString();
     foreach(Assembly a in AppDomain.CurrentDomain.GetAssemblies())
     {
         t = a.GetType(typename, false);
         if(t != null)
             return t;
     }
     throw new Exception("Typ '" + typename + "' nebyl nalezen");
 }
Exemple #2
0
 public NewExpression(QualifiedName TypeName, NamedArgumentList Arguments)
 {
     this.TypeName = TypeName;
     this.Arguments = Arguments;
 }
Exemple #3
0
 public CastExpression(IExpression Expr, QualifiedName TypeName)
 {
     this.Expr = Expr;
     this.TypeName = TypeName;
 }
Exemple #4
0
 public TypeLiteral(QualifiedName Name)
 {
     this.Name = Name;
 }
Exemple #5
0
 public CatchStatement(QualifiedName ExceptionType, string ID, IStatement Handler)
 {
     this.ExceptionType = ExceptionType;
     this.ID = ID;
     this.Handler = Handler;
 }