Пример #1
0
 public Molecule(Element left, Molecule right)
 {
     this.left  = left;
     this.right = right;
 }
Пример #2
0
 public string VisitMolecule(Molecule expr)
 {
     return(Parenthesize("", expr.left, expr.right));
 }
Пример #3
0
 public Term(Token coefficient, Molecule molecule)
 {
     this.coefficient = coefficient;
     this.molecule    = molecule;
 }