private bool term(Token t) { if ((t.getType() == (int)LogicTokenTypes.FUNCTION) || (t.getType() == (int)LogicTokenTypes.CONSTANT) || (t.getType() == (int)LogicTokenTypes.VARIABLE)) { return true; } else { return false; } }