public CatTypeVector(AstStack node) { mList = new List <CatKind>(); foreach (AstType tn in node.mTypes) { mList.Add(Create(tn)); } }
public AstFxnType(PegAstNode node) : base(node) { CheckLabel(AstLabel.FxnType); CheckChildCount(node, 3); mCons = new AstStack(node.GetChild(0)); mbSideEffects = node.GetChild(1).ToString().Equals("~>"); mProd = new AstStack(node.GetChild(2)); }