コード例 #1
0
 public TermWithExplicitType(Term term, TypeIsa type)
 {
     Term = term;
     Type = type;
 }
コード例 #2
0
 public ArrowType(TypeIsa argType, TypeIsa resType)
 {
     ArgType = argType;
     ResType = resType;
 }
コード例 #3
0
 public R Visit(TypeIsa t)
 {
     return(t.Dispatch(this));
 }
コード例 #4
0
 public static DefDecl CreateWithoutArg(string name, TypeIsa type, Term rhs)
 {
     return(new DefDecl(name, type, new Tuple <IList <Term>, Term>(new List <Term>(), rhs)));
 }
コード例 #5
0
 public DefDecl(string name, TypeIsa type, Tuple <IList <Term>, Term> equation) : base(name)
 {
     Type     = type;
     Equation = equation;
 }
コード例 #6
0
 public FunDecl(string name, TypeIsa type, IList <Tuple <IList <Term>, Term> > equations) : base(name)
 {
     Type      = type;
     Equations = equations;
 }