private string Term(TermNode node) { string output = ""; output += Factor(node.factor); if (node.part != null) { output += TermPart(node.part); } return(output); }
public TermNode Term() { var term = new TermNode(); term.factor = Factor(); if (token.type == TokenTypes.MULOP) { term.part = TermPart(); } return(term); }