private ExpNew AnalyNewExp(ExpTypeUnsure expType, ExpBracket expBracket) { ExpNew expNew = new ExpNew(this.expContext, expType, expBracket); // expNew.SetContextExp(this.expContext); Exp expArg = expNew.Analy(); ParseAsArg(expArg); return(expNew); }
private Exp ParseToExpNew(ExpTypeBase expType, Exp exp2) { ExpBracket bracketBracket = WarpExp(exp2); if (bracketBracket.IsExpBracketTagNew()) { bracketBracket = bracketBracket.AnalyToTagNew(); } ExpNew newexp = new ExpNew(this.ExpContext, expType, bracketBracket); //newexp.SetContextExp(this.expContext); Exp exp3 = newexp.Analy(); return(exp3); }