internal UnivDecl(Cons <UnivArg> args) : base(DeclKind.universe) { this.args = args; }
internal VarDecl(DeclKind kind, Cons <Token> univs, Cons <VarWhere> vars) : base(kind) { this.univs = univs; this.vars = vars; }
internal Var0Decl(Cons <Token> vars) : base(DeclKind.var0) { this.vars = vars; }
internal QBFormula(Token quantifier, Cons <Token> vars, Expr formula) : base(quantifier) { this.vars = vars; this.formula = formula; }
internal Set(Token set, Cons <Expr> elems = null) : base(set, ExprType.SET) { this.elems = elems; }
internal Program(Token token, Cons <Decl> declarations) { this.token = token; this.declarations = declarations; }
internal PredApp(Token token, Cons <Expr> expressions) : base(token) { this.expressions = expressions; }
/// <summary> /// Pushes a new map at the top. Returns the new mapstack. /// </summary> /// <param name="map">map to be pushed</param> public MapStack <K, V> Push(Dictionary <K, V> map) { var maps1 = new Cons <Dictionary <K, V> >(map, maps); return(new MapStack <K, V>(maps1, this)); }
MapStack(Cons <Dictionary <K, V> > maps, MapStack <K, V> rest) { this.maps = maps; this.rest = rest; }
Cons() { this.first = default(T); this.rest = null; this.count = 0; }
public void Reset() { this.cons = this.orig; this.current = default(T); }
internal ConsEnumerator(Cons <T> cons) { this.cons = cons; this.orig = cons; this.current = default(T); }