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