public Procedure(BuildOnProcedure p, List <Node> lst) { Proc = p; foreach (var node in lst) { var t = node as ExprNode; if (t == null) { throw new Exception("Illegal node type"); } _operands.Add(t); } }
public Procedure(BuildOnProcedure p) { Proc = p; }
/** * Вспомогательные методы */ private Operation procedureToOperation(BuildOnProcedure pr) { return(PROCEDURE_TO_OPERAITON[pr]); }