composeTerm method

void composeTerm(
  1. StringBuffer buffer,
  2. Term term
)

Implementation

void composeTerm(StringBuffer buffer, Term term) {
  if (term.comp != null) {
    composeComp(buffer, term.comp!);
  }
  if (term.op != null) {
    composeOp(buffer, term.op!);
  }
  if (term.term != null) {
    // buffer.write('(');
    composeTerm(buffer, term.term!);
    // buffer.write(')');
  }
}