/*
* producao de um termo para expressao
*/
private SyntaxTree term(){
SyntaxTree node = this.factor();
TokenType.Element type = this.currentToken.getType();
while( type == TokenType.Element.MULTIPLICATION || type == TokenType.Element.DIVISION ){
SyntaxTree child = new SyntaxTree( SyntaxType.Tree.EXPRESSION, SyntaxType.ExpressionKind.OPERATION, this.currentToken );
child.appendChild( node );
node = child;
this.match( type );
child.appendChild( this.factor() );
type = this.currentToken.getType();
}
return node;